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
622 B
23 lines
622 B
using UnityEngine; |
|
using System.Collections; |
|
using System; |
|
using AX.MessageSystem; |
|
|
|
namespace AX.InputSystem |
|
{ |
|
/// <summary> |
|
/// 绕X轴向上旋转命令;及面对X轴指向时绕X轴的逆时针旋转 |
|
/// 注:X轴向右,Y轴向上,Z轴向前 |
|
/// </summary> |
|
public class UpRotateCommand : Command |
|
{ |
|
public static readonly UpRotateCommand Instance = new UpRotateCommand(); |
|
public override void Execute(long gameObjID, CmdArgs arg) |
|
{ |
|
base.Execute(gameObjID, arg); |
|
|
|
MessageDispatcher.SendMessage("UP_ROTATE_COMMAND",arg); |
|
} |
|
} |
|
} |
|
|
|
|