Example #1
0
 private void UISetting_MovingCursor(object sender, MoveCursorEventArgs e)
 {
     if (e.Commander != CommanderTag.UISetting)
     {
         return;
     }
     cursorPosition = GetComponent <UserInterface>().MoveCursorUpDown(
         e.Direction, cursorPosition, orderedCursor.Length - 1);
 }
Example #2
0
 public void CommanderMoveCursor(MoveCursorEventArgs e)
 {
     OnMovingCursor(e);
 }
Example #3
0
 protected virtual void OnMovingCursor(MoveCursorEventArgs e)
 {
     MovingCursor?.Invoke(this, e);
 }