|
override float | GetPropertyHeight (SerializedProperty property, GUIContent label) |
| Changed the return property height to be double to cater for the additional item code description that we we draw. More...
|
|
override void | OnGUI (Rect position, SerializedProperty property, GUIContent label) |
| Using BeginProperty / EndProperty on the parent property means that prefab ovrride logic works on the entire property More...
|
|
Definition at line 6 of file ItemCodeDescriptionDrawer.cs.
◆ GetItemDescription()
string ItemCodeDescriptionDrawer.GetItemDescription |
( |
int |
itemCode | ) |
|
|
inlineprivate |
◆ GetPropertyHeight()
override float ItemCodeDescriptionDrawer.GetPropertyHeight |
( |
SerializedProperty |
property, |
|
|
GUIContent |
label |
|
) |
| |
|
inline |
Changed the return property height to be double to cater for the additional item code description that we we draw.
- Parameters
-
- Returns
Definition at line 14 of file ItemCodeDescriptionDrawer.cs.
◆ OnGUI()
override void ItemCodeDescriptionDrawer.OnGUI |
( |
Rect |
position, |
|
|
SerializedProperty |
property, |
|
|
GUIContent |
label |
|
) |
| |
|
inline |
Using BeginProperty / EndProperty on the parent property means that prefab ovrride logic works on the entire property
- Parameters
-
Definition at line 25 of file ItemCodeDescriptionDrawer.cs.
The documentation for this class was generated from the following file: