Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
ClosetotalPosition | Rectangle on the screen to use for the control, including label if applicable. |
label | Label in front of the slider. Use null to use the name from the SerializedProperty. Use GUIContent.none to not display a label. |
property | The SerializedProperty to use for the control. |
Create a new PropertyScope and begin the corresponding property.