Newer
Older
DungeonShooting / DungeonShooting_Godot / src / game / data / property / InputAction.cs
  1.  
  2. using Godot;
  3.  
  4. /// <summary>
  5. /// 输入事件名称
  6. /// </summary>
  7. public static class InputAction
  8. {
  9. /// <summary>
  10. /// 鼠标左键
  11. /// </summary>
  12. public static readonly StringName MouseLeft = "mouse_left";
  13. /// <summary>
  14. /// 鼠标右键
  15. /// </summary>
  16. public static readonly StringName MouseRight = "mouse_right";
  17. /// <summary>
  18. /// 鼠标中建
  19. /// </summary>
  20. public static readonly StringName mouseMiddle = "mouse_middle";
  21.  
  22. public static readonly StringName MoveLeft = "move_left";
  23. public static readonly StringName MoveRight = "move_right";
  24. public static readonly StringName MoveUp = "move_up";
  25. public static readonly StringName MoveDown = "move_down";
  26. public static readonly StringName ExchangeWeapon = "exchangeWeapon";
  27. public static readonly StringName ThrowWeapon = "throwWeapon";
  28. public static readonly StringName Interactive = "interactive";
  29. public static readonly StringName Reload = "reload";
  30. public static readonly StringName Fire = "fire";
  31. public static readonly StringName MeleeAttack = "meleeAttack";
  32. public static readonly StringName Roll = "roll";
  33. public static readonly StringName UseActiveProp = "useActiveProp";
  34. public static readonly StringName ExchangeProp = "exchangeProp";
  35. public static readonly StringName RemoveProp = "removeProp";
  36. public static readonly StringName Map = "map";
  37. public static readonly StringName Menu = "menu";
  38. }