using Blue;
using UnityEngine;
///
/// ShowDevice获取位置事件
///
public struct ShowDeviceEvent : IEvent
{
public Transform ShowDeviceTransform;
}
///
/// ShowDevice获取位置命令
///
public class ShowDeviceCommand : ICommand
{
private Transform showDeviceTransform;
public ShowDeviceCommand(Transform showDeviceTransform)
{
this.showDeviceTransform = showDeviceTransform;
}
public void OnExcute()
{
this.SendEvent(new ShowDeviceEvent(){ShowDeviceTransform = showDeviceTransform});
}
}