Esempio n. 1
0
        public virtual float GetElementHeight(GUIContent label, TElement element, fiGraphMetadata metadata)
        {
            var nextEditor = EditorChain.GetNextEditor(this);

            return(PropertyEditorExtensions.GetElementHeight(nextEditor, label, element, metadata.Enter("IPropertyEditor")));
        }
Esempio n. 2
0
        public virtual TElement Edit(Rect region, GUIContent label, TElement element, fiGraphMetadata metadata)
        {
            var nextEditor = EditorChain.GetNextEditor(this);

            return(PropertyEditorExtensions.Edit(nextEditor, region, label, element, metadata.Enter("IPropertyEditor")));
        }
        protected virtual float GetElementHeight(GUIContent label, TElement element, TAttribute attribute, fiGraphMetadata metadata)
        {
            var nextEditor = EditorChain.GetNextEditor(this);

            return(PropertyEditorExtensions.GetElementHeight(nextEditor, label, element, metadata.Enter("IAttributePropertyEditor", metadata.Context)));
        }