public static Image BlackImageComponent;
public static Image DetailHideImageComponent;
public static Text InformationTextComponent;
public static Text InformationTitleTextComponent;
public static GameObject CenterPosition;
void Start()
ย ย {
ย ย ย ย //ํ์ด๋ ์ธ ํ ๊ฒ๋ค
ย ย ย ย BlackImageComponent = GameObject.Find("Black_Image").GetComponent<Image>();
ย ย ย ย DetailHideImageComponent = GameObject.Find("DetailHide_Btn").GetComponent<Image>();
ย ย ย ย //๋ฒํผ ์ด๋ ์์น ๊ตฌํ ๊ด๋ จ
ย ย ย ย CenterPosition = GameObject.Find("CenterPosition");
ย ย ย ย InformationTitleTextComponent = GameObject.Find("BlackImageTitle_Text").GetComponent<Text>();
ย ย ย ย InformationTextComponent = GameObject.Find("BlackImage_Text").GetComponent<Text>();
InformationTitle[0] = ""; //์ค๋ฅ๋ ์ฌ๊ธฐ์ ์๊พธ๋จ
ย ย ย ย Information[0] = "";
ย ย }
์ด๋ฌ๊ณ ๋ค๋ฅธ ์คํฌ๋ฆฝํธ์์ ์ผ์
Manager_Skill.InformationTitleTextComponent.text = Manager_Skill.InformationTitle[0];
Manager_Skill.InformationTextComponent.text = Manager_Skill.Information[0];
๊ทธ์ชฝ์์ ์ด๊ฑด ์ด๊ฑฐ์
์ญ์ ๋๋ฌด ๊ธด ๊ฒ ๊ฐ์์ ํ์ ์๋ ๋ถ๋ถ์ ์กฐ๊ธ ์๋์
ํด๋น ๋๊ธ์ ์ญ์ ๋์์ต๋๋ค.
์
๋์ ์ง์ง ๊ณ ๋ง๋ค
๋ด๊ฐ ๋ณ์ ์ด์๋ค
๋ฏธ์ ๋ค์๋ถํด ๋ค ์ฌ๋ฆด๊ฒ
InformationTitle์ด ๋ญ๋ด๊ณ ์๋์ง ๋ชจ๋ฅด๊ฒ ๋๋ฐ Text๋ฅผ ๋ด๊ณ ์์ผ๋ฉด .text ๋ถ์ฌ๋ผ
๊ฑ๋ string์