DrawState.cs 496 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using UnityEngine;
  3. namespace UnityEditor.Graphing
  4. {
  5. [Serializable]
  6. struct DrawState
  7. {
  8. [SerializeField]
  9. private bool m_Expanded;
  10. [SerializeField]
  11. private Rect m_Position;
  12. public bool expanded
  13. {
  14. get { return m_Expanded; }
  15. set { m_Expanded = value; }
  16. }
  17. public Rect position
  18. {
  19. get { return m_Position; }
  20. set { m_Position = value; }
  21. }
  22. }
  23. }