기술 자료

Unity Engine

Unity Engine

PropertyScope(Rect, GUIContent, SerializedProperty)

Create a new PropertyScope and begin the corresponding property.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public PropertyScope(Rect totalPosition, GUIContent label, SerializedProperty property)

Parameters

totalPosition

Rectangle on the screen to use for the control, including label if applicable.

Label in front of the slider. Use null to use the name from the SerializedProperty. Use GUIContent.none to not display a label.

The SerializedProperty to use for the control.