public void ResetToggleMainMenu(ProjectConstants.Scenes scene) { switch (scene) { case ProjectConstants.Scenes.HomeUI: if (btns [0].value != true) { btns [0].Set(true); } break; case ProjectConstants.Scenes.JoinRoom: if (btns [1].value != true) { btns [1].Set(true); } break; case ProjectConstants.Scenes.SongList: if (btns [2].value != true) { btns [2].Set(true); } break; case ProjectConstants.Scenes.AchievementListUI: if (btns [3].value != true) { btns [3].Set(true); } break; case ProjectConstants.Scenes.SettingUI: if (btns [4].value != true) { btns [4].Set(true); } break; default: break; } }
private void OnSceneChange(ProjectConstants.Scenes scene) { anmController.SetTrigger("hidetoleft"); }