24 lines
588 B
24 lines
588 B
5 years ago
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
using AX.MessageSystem;
|
||
|
|
||
|
namespace AX.InputSystem
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 相机垂直方向移动命令
|
||
|
/// </summary>
|
||
|
public class CameraVerticalMoveCommand : Command
|
||
|
{
|
||
|
public static readonly CameraVerticalMoveCommand Instance = new CameraVerticalMoveCommand();
|
||
|
|
||
|
public override void Execute(long gameObjID, CmdArgs arg)
|
||
|
{
|
||
|
base.Execute(gameObjID, arg);
|
||
|
|
||
|
MessageDispatcher.SendMessage("CAMERA_VERTICAL_MOVE_COMMAND",arg);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|