using Blue; /// /// 获取参考物的坐标命令 /// public class GetReferencePosCommand : ICommand { private int sceneID; /// /// 获取参考物的坐标命令 /// /// 场景ID public GetReferencePosCommand(int sceneID) { this.sceneID = sceneID; } public void OnExcute() { this.GetService().GetRefrencePos(sceneID); } }