ย ย ย ย GameObject hudText = Instantiate(hudSayText);
ย ย ย ย hudText.transform.position = hudPos0.position;
ย ย ย ย narration = "I am living... for you, Ide.";
ย ย ย ย writerText = "";
ย ย ย ย hudText.GetComponent<SayText>().destroyTime = narration.Length *0.1f + 0.5f;
ย ย ย ย for (int a = 0; a < narration.Length; a++)
ย ย ย ย {
ย ย ย ย ย ย writerText += narration[a];
ย ย ย ย ย ย hudText.GetComponent<SayText>().say = writerText;
ย ย ย ย ย ย yield return new WaitForSeconds(0.1f);
ย ย ย ย }
๋ญํฑ์ด๋ก ์๋ค๊ฐ ์ ๋ง๊ฒ์ ์๋๊ทธ๋ฅ
๋๊ธ 0