Class CompositionStrategyInfoPropertyDrawer
- Namespace
- TAssetBundle.Editor
- Assembly
- TAssetBundle.Editor.dll
[CustomPropertyDrawer(typeof(CompositionStrategyInfo))]
public class CompositionStrategyInfoPropertyDrawer : PropertyDrawer
- Inheritance
-
GUIDrawerPropertyDrawerCompositionStrategyInfoPropertyDrawer
- Inherited Members
-
PropertyDrawer.CreatePropertyGUI(SerializedProperty)PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)PropertyDrawer.attributePropertyDrawer.fieldInfo
Methods
GetPropertyHeight(SerializedProperty, GUIContent)
Override this method to specify how tall the GUI for this field is in pixels.
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
property
SerializedPropertyThe SerializedProperty to make the custom GUI for.
label
GUIContentThe label of this property.
Returns
- float
The height in pixels.
OnGUI(Rect, SerializedProperty, GUIContent)
Override this method to make your own IMGUI based GUI for the property.
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
position
RectRectangle on the screen to use for the property GUI.
property
SerializedPropertyThe SerializedProperty to make the custom GUI for.
label
GUIContentThe label of this property.