贺州人民医院电子沙盘
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.
 
 
 
 

23 lines
634 B

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