private void InvokeStartOrEndEvents()
    {
        if (IsMoving)
        {
            UseStarted?.Invoke();
            return;
        }

        UseStopped?.Invoke();
    }
示例#2
0
 public override void StopMove()
 {
     IsMoving = false;
     UseStopped?.Invoke();
 }