SingleUnityLayerPropertyDrawer

Class in ChivalrousGames.Common.Inspector / Inherits from BaseSingleUnityLayerPropertyDrawer

Description

Handles drawing of a SingleUnityLayer field without the need to use an attribute.

Methods

OnGUI
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label);
Parameters
position Rect Rectangle on the screen to use for the property GUI
property SerializedProperty The SerializedProperty to make the custom GUI for
label GUIContent The label of this property
Description

Simple override of the OnGUI method of class PropertyDrawer. Unity calls this method itself, users should not have to call this themselves.