SceneConf.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. using PublicTools.Unity;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. namespace XRTool.Util
  6. {
  7. /// <summary>
  8. /// 场景节点配置文件
  9. /// </summary>
  10. public class SceneConf
  11. {
  12. private string prikey;
  13. private string sceneName;
  14. private string name;
  15. private string path;
  16. private ObjNode nodeName;
  17. private XVector3 position;
  18. private XVector3 angle;
  19. private XVector3 scale;
  20. private bool isActiveOnAwake;
  21. public string Prikey { get => prikey; set => prikey = value; }
  22. public string SceneName { get => sceneName; set => sceneName = value; }
  23. public string Name { get => name; set => name = value; }
  24. public string Path { get => path; set => path = value; }
  25. public ObjNode NodeName { get => nodeName; set => nodeName = value; }
  26. public XVector3 Position { get => position; set => position = value; }
  27. public XVector3 Angle { get => angle; set => angle = value; }
  28. public XVector3 Scale { get => scale; set => scale = value; }
  29. public bool IsActiveOnAwake { get => isActiveOnAwake; set => isActiveOnAwake = value; }
  30. }
  31. }