12345678910111213141516171819202122 |
- using Blue;
- /// <summary>
- /// 获取参考物的坐标命令
- /// </summary>
- public class GetReferencePosCommand : ICommand
- {
- private int sceneID;
- /// <summary>
- /// 获取参考物的坐标命令
- /// </summary>
- /// <param name="sceneID">场景ID</param>
- public GetReferencePosCommand(int sceneID)
- {
- this.sceneID = sceneID;
- }
- public void OnExcute()
- {
- this.GetService<IPointService>().GetRefrencePos(sceneID);
- }
- }
|