You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
437 B
19 lines
437 B
using AX.MessageSystem; |
|
|
|
namespace AX.InputSystem |
|
{ |
|
/// <summary> |
|
/// K 按键的操作 |
|
/// </summary> |
|
public class KCommand : Command |
|
{ |
|
public static readonly KCommand Instance = new KCommand(); |
|
public override void Execute(long gameObjID, CmdArgs arg) |
|
{ |
|
base.Execute(gameObjID, arg); |
|
|
|
MessageDispatcher.SendMessage(gameObjID, "K_COMMAND", arg); |
|
} |
|
} |
|
} |
|
|
|
|