string targetType = GetStageData(1).type;

Debug.Log(targetType + "," + targetType .GetHashCode());


string testType = "A";

Debug.Log(testType + "," + testType.GetHashCode());




์ด๋Ÿฌ๋ฉด ๊ฐ๊ฐ ๊ฐ’์ด ์ด๋ ‡๊ฒŒ ์ฐํž˜


A,-210331348

A,372029405


๋˜‘๊ฐ™์€ ๋ฌธ์ž์—ด A์ธ๋ฐ ์™œ ํ•ด์‹œ์ฝ”๋“œ๊ฐ€ ๋‹ค๋ฅธ๊ฑฐ์•ผ?


string์€ ๋‚ด์šฉ์ด ๊ฐ™์œผ๋ฉด ๊ฐ™์€ ํ•ด์‹œ์ฝ”๋“œ๋ฅผ ๊ฐ€์ ธ์•ผ ํ•˜์ž–์•„




์ € ๋ณ€์ˆ˜๋กœ ๋ฆฌ์ŠคํŠธ์—์„œ ๊ฐ’ ์ฐพ์œผ๋ ค๋Š”๋ฐ ๊ณ„์† null ๋„์›Œ์„œ ๋ญ”๊ฐ€ ์‹ถ์—ˆ์Œ