protected override float GetElementHeight(GUIContent label, T element, InspectorSkipInheritanceAttribute attribute, fiGraphMetadata metadata) { if (element == null) { return(EditorGUIUtility.singleLineHeight); } return(GetEditor(element).GetElementHeight(label, element, metadata.Enter("InspectorSkipInheritance", metadata.Context))); }
protected override T Edit(Rect region, GUIContent label, T element, InspectorSkipInheritanceAttribute attribute, fiGraphMetadata metadata) { if (element == null) { GUI.Label(region, label); return(element); } return(GetEditor(element).Edit(region, label, element, metadata.Enter("InspectorSkipInheritance", metadata.Context))); }
protected override T OnSceneGUI(T element, InspectorSkipInheritanceAttribute attribute) { return(GetEditor(element).OnSceneGUI(element)); }
protected override float GetElementHeight(GUIContent label, T element, InspectorSkipInheritanceAttribute attribute, fiGraphMetadata metadata) { return(GetEditor(element).GetElementHeight(label, element, metadata.Enter("InspectorSkipInheritance"))); }
protected override T Edit(Rect region, GUIContent label, T element, InspectorSkipInheritanceAttribute attribute, fiGraphMetadata metadata) { return(GetEditor(element).Edit(region, label, element, metadata.Enter("InspectorSkipInheritance"))); }