using AX.MessageSystem; namespace AX.InputSystem { /// /// K 按键的操作 /// 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); } } }