Example #1
0
 private void CheckPlayerLock()
 {
     if (_menuOpened || _systemOpened || _interactOpened)
     {
         _playerCore.LockPlayer();
     }
     else
     {
         _playerCore.UnlockPlayer();
     }
 }