holopy3/Assets/Plugins/RootMotion/Editor/Shared Scripts/SerializedContent.cs

20 lines
478 B
C#
Raw Permalink Normal View History

2020-12-10 14:25:12 +00:00
using UnityEngine;
using UnityEditor;
using System.Collections;
namespace RootMotion {
/*
* Serialized content is used for caching serialized properties and their respective GUIContent and enforcing unified GUI layout.
* */
public struct SerializedContent {
public SerializedProperty prop;
public GUIContent guiContent;
public SerializedContent(SerializedProperty prop, GUIContent guiContent) {
this.prop = prop;
this.guiContent = guiContent;
}
}
}