Пример #1
0
        public override void Destroy()
        {
            _taskRoutine.Stop();

            foreach (InputDevice device in devices)
            {
                device.StopVibration();
            }

            devices.Clear();
        }
Пример #2
0
 public void Step(ref TurnInfo token, int condition)
 {
     if (condition == TurnCondition.starting)
     {
         if (entityViewsDB.TryQueryEntityView(token.entityID, out _playerEntityView))
         {
             _taskRoutine.Start();
         }
     }
     else
     {
         _taskRoutine.Stop();
         _playerEntityView = null;
     }
 }
Пример #3
0
 protected override void Remove(PlayerActionLeftStickEntityView leftStickEntityView)
 {
     _taskRoutine.Stop();
     _playerActionLeftStickEntityView = null;
 }
Пример #4
0
 protected override void Remove(PlayerActionSetEntityView entityView)
 {
     _taskRoutine.Stop();
     _playerActionSetEntityView = null;
 }
Пример #5
0
 protected override void Remove(CameraEntityView entityView)
 {
     _taskRoutine.Stop();
     _cameraEntityView = null;
 }