SerializedContent.cs 478 B

1234567891011121314151617181920
  1. using UnityEngine;
  2. using UnityEditor;
  3. using System.Collections;
  4. namespace RootMotion {
  5. /*
  6. * Serialized content is used for caching serialized properties and their respective GUIContent and enforcing unified GUI layout.
  7. * */
  8. public struct SerializedContent {
  9. public SerializedProperty prop;
  10. public GUIContent guiContent;
  11. public SerializedContent(SerializedProperty prop, GUIContent guiContent) {
  12. this.prop = prop;
  13. this.guiContent = guiContent;
  14. }
  15. }
  16. }