上海苏宁宝丽嘉酒店,2020.11.17 15:30改为单机版本,以后合成单机版本可以以此版本为模板
 
 
 
 

23 lines
630 B

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