24 lines
538 B
24 lines
538 B
4 years ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using AX.MessageSystem;
|
||
|
|
||
|
namespace AX.InputSystem
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 旋转持续中命令
|
||
|
/// </summary>
|
||
|
public class RotatingCommand : Command
|
||
|
{
|
||
|
public static readonly RotatingCommand Instance = new RotatingCommand();
|
||
|
|
||
|
public override void Execute(long gameObjID, CmdArgs arg)
|
||
|
{
|
||
|
base.Execute(gameObjID, arg);
|
||
|
|
||
|
MessageDispatcher.SendMessage("ROTATING_COMMAND", arg);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|