示例#1
0
 void DoHideLoadingScreen()
 {
     if (LoadingView.Instance.IsVisible)
     {
         LoadingView.SharedInstance().HideTransition();
     }
 }
示例#2
0
        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();
            }
        }