protected void UpdateMode()
        {
            if (_iModeReq == TitleTaskManagerMode.TitleTaskManagerMode_BEF)
            {
                return;
            }
            switch (_iModeReq)
            {
            case TitleTaskManagerMode.TitleTaskManagerMode_ST:
                if (_clsTasks.Open(_clsTaskOpening) < 0)
                {
                    return;
                }
                break;

            case TitleTaskManagerMode.SelectMode:
                if (_clsTasks.Open(_clsTaskSelectMode) < 0)
                {
                    return;
                }
                break;

            case TitleTaskManagerMode.NewGame:
                if (_clsTasks.Open(_clsTaskNewGame) < 0)
                {
                    return;
                }
                break;
            }
            _iMode    = _iModeReq;
            _iModeReq = TitleTaskManagerMode.TitleTaskManagerMode_BEF;
        }
 private void Awake()
 {
     if (App.GetTitleManager() == null)
     {
         App.SetTitleManager(new TitleManager());
     }
     _clsTasks          = base.gameObject.SafeGetComponent <SceneTasksMono>();
     _clsInput          = new KeyControl();
     _camTitle          = new Generics.InnerCamera(base.transform.FindChild("TitleCamera").transform);
     _clsTaskOpening    = base.transform.GetComponentInChildren <TaskTitleOpening>();
     _clsTaskSelectMode = base.transform.GetComponentInChildren <TaskTitleSelectMode>();
     _clsTaskNewGame    = base.transform.GetComponentInChildren <TaskTitleNewGame>();
     Util.SetRootContentSize(GetComponent <UIRoot>(), App.SCREEN_RESOLUTION);
     _uiMasterVersion.text = "Version 1.02";
     App.SetSoundSettings(new SettingModel());
     if (_isPlayOpening)
     {
         _uiMaskPanel.alpha = 1f;
         _clsTaskOpening.PlayImmediateOpeningMovie();
         _iMode         = (_iModeReq = TitleTaskManagerMode.TitleTaskManagerMode_ST);
         _isPlayOpening = false;
         return;
     }
     _uiMaskPanel.alpha = 0f;
     if (SingletonMonoBehaviour <FadeCamera> .Instance != null && SingletonMonoBehaviour <FadeCamera> .Instance.isFadeOut)
     {
         SingletonMonoBehaviour <FadeCamera> .Instance.FadeIn(0.2f, null);
     }
     _iMode = (_iModeReq = TitleTaskManagerMode.SelectMode);
 }
 public static void ReqMode(TitleTaskManagerMode iMode)
 {
     _iModeReq = iMode;
 }