public override void Destroy() { _taskRoutine.Stop(); foreach (InputDevice device in devices) { device.StopVibration(); } devices.Clear(); }
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; } }
protected override void Remove(PlayerActionLeftStickEntityView leftStickEntityView) { _taskRoutine.Stop(); _playerActionLeftStickEntityView = null; }
protected override void Remove(PlayerActionSetEntityView entityView) { _taskRoutine.Stop(); _playerActionSetEntityView = null; }
protected override void Remove(CameraEntityView entityView) { _taskRoutine.Stop(); _cameraEntityView = null; }