PointPosRotDownloadCommand.cs 516 B

12345678910111213141516171819202122
  1. using Blue;
  2. /// <summary>
  3. /// 下载移动场景的Pos、Rot
  4. /// </summary>
  5. public class PointPosRotDownloadCommand : ICommand
  6. {
  7. private int sceneID;
  8. /// <summary>
  9. /// 获取移动场景的Pos、Rot命令
  10. /// </summary>
  11. /// <param name="projectID">场景ID</param>
  12. public PointPosRotDownloadCommand(int sceneID)
  13. {
  14. this.sceneID = sceneID;
  15. }
  16. public void OnExcute()
  17. {
  18. this.GetService<IUpOrDownloadService>().GetScenePosRot(sceneID);
  19. }
  20. }