using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class StartTutorial : MonoBehaviour
{
float timer;
int waitingTime;
int count;
GameObject TutoOne;

void Start()
{
timer = 0.0f;
waitingTime = 2;
TutoOne = GameObject.Find("Tutorial_1"); // ๋‹น์—ฐํžˆ ๊ทธ ์”ฌ์— ์กด์žฌํ•˜๋Š” ์˜ค๋ธŒ์ ํŠธ

while (count > 5)
{
timer += Time.deltaTime;
if (timer > waitingTime)
{
TutoOne.GetComponent<Text>().text = "ใ…ใ„ดใ…‡ใ„น"
timer = 0;
}
}
}

void Update()
{
}
}

์ฝ”๋“œ๋Š” ์ด๊ฒ๋‹ˆ๋‹ค ์”ฌ ์‹œ์ž‘๋  ๋•Œ 2์ดˆ ๊ฐ„๊ฒฉ์œผ๋กœ ํ…์ŠคํŠธ๊ฐ€ ๋ณ€ํ•˜๊ฒŒ ํ•˜๊ณ  ์‹ถ์€๋ฐ ใ…ใ„ดใ…‡ใ„น๋ผ๊ณ  ๋ณ€ํ•˜์ง€๋„ ์•Š๋„ค์š”;
ํƒ€์ด๋จธ ์ฝ”๋“œ๋Š” ์ธํ„ฐ๋„ท์—์„œ ๊ฒ€์ƒ‰ํ•ด์„œ ์“ด๊ฑด๋ฐ ์ด๊ฒŒ ํ‹€๋ฆฐ๊ฒŒ ์žˆ์„๊นŒ์š”?