コード例 #1
0
        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)));
        }
コード例 #2
0
        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)));
        }
コード例 #3
0
 protected override T OnSceneGUI(T element, InspectorSkipInheritanceAttribute attribute)
 {
     return(GetEditor(element).OnSceneGUI(element));
 }
コード例 #4
0
 protected override float GetElementHeight(GUIContent label, T element, InspectorSkipInheritanceAttribute attribute, fiGraphMetadata metadata)
 {
     return(GetEditor(element).GetElementHeight(label, element, metadata.Enter("InspectorSkipInheritance")));
 }
コード例 #5
0
 protected override T Edit(Rect region, GUIContent label, T element, InspectorSkipInheritanceAttribute attribute, fiGraphMetadata metadata)
 {
     return(GetEditor(element).Edit(region, label, element, metadata.Enter("InspectorSkipInheritance")));
 }