public CCursorManager() { this._gameSettings = CDependencyResolver.Get <CGameSettings>(); this._blockingEventsManager = CDependencyResolver.Get <CBlockingEventsManager>(); SetCursorState(!this._gameSettings.CursorStartsHidden); this._blockingEventsManager.OnMenu += SetCursorState; CInputManager.InputTypeChanged += OnInputTypeChanged; }
static CDK() { #if UNITY_EDITOR CGameSettings.EditorCreateGameSettingsResourceIfNeeded(); #endif }