Exemple #1
0
        public CCursorManager()
        {
            this._gameSettings          = CDependencyResolver.Get <CGameSettings>();
            this._blockingEventsManager = CDependencyResolver.Get <CBlockingEventsManager>();

            SetCursorState(!this._gameSettings.CursorStartsHidden);
            this._blockingEventsManager.OnMenu += SetCursorState;
            CInputManager.InputTypeChanged     += OnInputTypeChanged;
        }
Exemple #2
0
 static CDK()
 {
                 #if UNITY_EDITOR
     CGameSettings.EditorCreateGameSettingsResourceIfNeeded();
                 #endif
 }