private void UpdateInput()
 {
     if (!this.UpdateTextInput())
     {
         InputManager manager = InputManager.Get();
         if ((manager == null) || !manager.HandleKeyboardInput())
         {
             CheatMgr mgr = CheatMgr.Get();
             if ((mgr == null) || !mgr.HandleKeyboardInput())
             {
                 Cheats cheats = Cheats.Get();
                 if ((cheats == null) || !cheats.HandleKeyboardInput())
                 {
                     DialogManager manager2 = DialogManager.Get();
                     if ((manager2 == null) || !manager2.HandleKeyboardInput())
                     {
                         CollectionInputMgr mgr2 = CollectionInputMgr.Get();
                         if ((mgr2 == null) || !mgr2.HandleKeyboardInput())
                         {
                             DraftInputManager manager3 = DraftInputManager.Get();
                             if ((manager3 == null) || !manager3.HandleKeyboardInput())
                             {
                                 PackOpening opening = PackOpening.Get();
                                 if ((opening == null) || !opening.HandleKeyboardInput())
                                 {
                                     if (SceneMgr.Get() != null)
                                     {
                                         Scene scene = SceneMgr.Get().GetScene();
                                         if ((scene != null) && scene.HandleKeyboardInput())
                                         {
                                             return;
                                         }
                                     }
                                     BaseUI eui = BaseUI.Get();
                                     if ((eui != null) && eui.HandleKeyboardInput())
                                     {
                                     }
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }
    private void LoadBoard(Network.GameSetup setup)
    {
        string assetName;
        string board = Cheats.Get().GetBoard();

        if (string.IsNullOrEmpty(board))
        {
            assetName = GameDbf.Board.GetRecord(setup.Board).GetAssetName("PREFAB");
        }
        else
        {
            assetName = board;
        }
        if (UniversalInputManager.UsePhoneUI != null)
        {
            assetName = string.Format("{0}_phone", assetName);
        }
        AssetLoader.Get().LoadBoard(assetName, new AssetLoader.GameObjectCallback(this.OnBoardLoaded), null, false);
    }