Exemplo n.º 1
0
        public override void Destroy()
        {
            _taskRoutine.Stop();

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

            devices.Clear();
        }
Exemplo n.º 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;
     }
 }
Exemplo n.º 3
0
 protected override void Remove(PlayerActionLeftStickEntityView leftStickEntityView)
 {
     _taskRoutine.Stop();
     _playerActionLeftStickEntityView = null;
 }
Exemplo n.º 4
0
 protected override void Remove(PlayerActionSetEntityView entityView)
 {
     _taskRoutine.Stop();
     _playerActionSetEntityView = null;
 }
Exemplo n.º 5
0
 protected override void Remove(CameraEntityView entityView)
 {
     _taskRoutine.Stop();
     _cameraEntityView = null;
 }