ScenePickPropertyDrawer.OnGUI(Rect, SerializedProperty, GUIContent) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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