using UnityEngine; using System.Collections; using System; using AX.MessageSystem; namespace AX.InputSystem { /// /// 绕Y轴向左旋转命令;及面对Y轴指向时绕Y轴的逆时针旋转 /// 注:X轴向右,Y轴向上,Z轴向前 /// public class LeftRotateCommand : Command { public static readonly LeftRotateCommand Instance = new LeftRotateCommand(); public override void Execute(long gameObjID, CmdArgs arg) { base.Execute(gameObjID, arg); MessageDispatcher.SendMessage("LEFT_ROTATE_COMMAND",arg); } } }