C# Class QuickPool.PoolDrawer

Inheritance: UnityEditor.PropertyDrawer
Show file Open project: minimalgeek/TapBand

Private Properties

Property Type Description
DrawEnumMaskField void
DrawField void
DrawHeader void
GetPoolObject Pool

Public Methods

Method Description
GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void

Private Methods

Method Description
DrawEnumMaskField ( Rect position, UnityEditor.SerializedProperty property, int index, string text ) : void
DrawField ( Rect position, UnityEditor.SerializedProperty property, int index ) : void
DrawHeader ( Rect position, string poolName, UnityEditor.SerializedProperty property ) : void
GetPoolObject ( UnityEditor.SerializedProperty property ) : Pool

Method Details

GetPropertyHeight() public method

public GetPropertyHeight ( UnityEditor.SerializedProperty property, GUIContent label ) : float
property UnityEditor.SerializedProperty
label UnityEngine.GUIContent
return float

OnGUI() public method

public OnGUI ( Rect position, UnityEditor.SerializedProperty property, GUIContent label ) : void
position UnityEngine.Rect
property UnityEditor.SerializedProperty
label UnityEngine.GUIContent
return void