ScenePickPropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent) Method

Definition

Function called by unity to draw the GUI for this property We are replacing the int value of the backing field with a dropdown list of scene names

public:
 override void OnGUI(UnityEngine::Rect position, UnityEditor::SerializedProperty ^ property, UnityEngine::GUIContent ^ label);
public override void OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label);
override this.OnGUI : UnityEngine.Rect * UnityEditor.SerializedProperty * UnityEngine.GUIContent -> unit
Public Overrides Sub OnGUI (position As Rect, property As SerializedProperty, label As GUIContent)

Parameters

position
UnityEngine.Rect

See base class

property
UnityEditor.SerializedProperty

See base class

label
UnityEngine.GUIContent

See base class

Applies to