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