public static string DateField(GUIContent label, string date) { Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight)); return(ExtendedGUI.DateField(rect, label, date)); }
public override void OnGUI(Rect rect, SerializedProperty property, GUIContent label) { ExtendedGUI.DateField(rect, label, property); }
public static void DateField(GUIContent label, SerializedProperty property) { Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight)); ExtendedGUI.DateField(rect, label, property); }