private void Awake() { _ffInputActions = new FFInputActions(); _ffInputActions.Game.MouseLeftClick.performed += _ => { Select(); }; _ffInputActions.Game.SetFocusTarget.performed += _ => { if (_objectSelected != null) { _isTargetFocused = !_isTargetFocused; if (_isTargetFocused) { _objectSelected.Focus(); } else { _objectSelected.Unfocus(); } } }; }
private void Awake() { _ffInputActions = new FFInputActions(); Application.targetFrameRate = 60; QualitySettings.vSyncCount = 0; }