ShowWarning
How do I use Show Warning
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
87 | GameplayController.instance.ShowWarning(); | 1 |
155 | public void ShowWarning(){ | 2 |
File name: EnemySpawner.cs
Copy
82 void CheckedEnemies(){
83 if(!active){
84 if (GameObject.FindGameObjectWithTag("Enemy") == null) {
85 if(!isBossReady){
86 isBossReady = true;
87 GameplayController.instance.ShowWarning();
88 }
89 }
90 }
91 }
File name: GameplayController.cs
Copy
155 public void ShowWarning(){
156 StartCoroutine (SpawnBossTime());
157 }
ShowWarning 127 lượt xem
Gõ tìm kiếm nhanh...