public static void TimeObject(GUIContent label, SerializedProperty property)
        {
            Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight));

            ExtendedGUI.TimeObject(rect, label, property);
        }
        public static TimeObject TimeObject(GUIContent label, TimeObject value)
        {
            Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight));

            return(ExtendedGUI.TimeObject(rect, label, value));
        }
Ejemplo n.º 3
0
 public override void OnGUI(Rect rect, SerializedProperty property, GUIContent label)
 {
     ExtendedGUI.TimeObject(rect, label, property);
 }