BackToLevelMenu
How do I use Back To Level Menu
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
249 | public void BackToLevelMenu(){ | 1 |
File name: GameplayController.cs
Copy
249 public void BackToLevelMenu(){
250 if(GameController.instance != null && MusicController.instance != null){
251 if (GameController.instance.isMusicOn) {
252 MusicController.instance.PlayBgMusic ();
253 } else {
254 MusicController.instance.StopAllSounds ();
255 }
256 }
257 SceneManager.LoadScene ("Level Menu");
258 Time.timeScale = 1;
259 }
BackToLevelMenu 141 lượt xem
Gõ tìm kiếm nhanh...