private void On_AR_ARGameStateUpdated(StateBEHandle <EARGameHostState> stateBEHandle) { switch (stateBEHandle.NewState) { case EARGameHostState.READY_TO_SET_WORLD_ROOT: break; } }
// TODO: disconnect player private void On_APP_AppStateUpdated(StateBEHandle <EAppState> eventHandle) { //switch(eventHandle.NewState) //{ // case EAppState.IN_MENU_IN_CONNECTING_CONTROLLERS: // PlayerInputManager.instance.EnableJoining(); // break; // default: // PlayerInputManager.instance.DisableJoining(); // break; //} }
private void On_APP_SceneChanged(StateBEHandle <EAppScene> eventHandle) { EAppScene scene = eventHandle.NewState; FindAndBindButtonActions(); //switch (scene) //{ // case EAppScene.MENU: // if (CurrentGameMode != null) // { // Destroy(CurrentGameMode); // } // break; // //case EAppScene.GAME: // // AddChosenGameMode(); // // break; //} }