void DoHideLoadingScreen() { if (LoadingView.Instance.IsVisible) { LoadingView.SharedInstance().HideTransition(); } }
void _onJoinedRoom() { M3PUN.Utils.PrintRoomDetails("StateWaitForChallenge", "_onJoinedRoom"); bool isBatteFieldScene = (SceneManagerHelper.ActiveSceneName == SceneUtil.GetSceneName(SceneType.BattleField)); if (isBatteFieldScene) //if we're still in battlefield, hide the room { DoCloseAndHideTheRoom(); } if (findBattlePartner) { DoFindMatch(); } if (LoadingView.Instance.IsVisible) { LoadingView.SharedInstance().HideTransition(); } }