WinRoutine









How do I use Win Routine
Below are practical examples compiled from projects for learning and reference purposes

Featured Snippets


File name: UIgame.cs Copy
72     public void Win()
73     {
74         GameObject.Find("Player").SetActive(false); ;
75         StartCoroutine("WinRoutine");
76     }
File name: UIgame.cs Copy
78     IEnumerator WinRoutine()
79     {
80         yield return new WaitForSeconds(1);
81         WinScreen.SetActive(true);
82     }

WinRoutine 134 lượt xem

Gõ tìm kiếm nhanh...