LevelEditorPoint.cs 544 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using UnityEngine;
  3. public class LevelEditorPoint
  4. {
  5. public string prefabName;
  6. public bool useLine;
  7. public LevelEditorPoint.PointType pointType;
  8. public Color color = new Color(0.7f, 0.3f, 0.15f);
  9. public LevelEditorPoint.LevelEditorLine levelLine = new LevelEditorPoint.LevelEditorLine();
  10. public enum PointType
  11. {
  12. Parent,
  13. Left,
  14. Right
  15. }
  16. public class LevelEditorLine
  17. {
  18. public int length = 1;
  19. public float angle = 90f;
  20. public Color color = new Color(0.7f, 0.3f, 0.15f);
  21. }
  22. }