serializedObject
A SerializedObject representing the object or objects being inspected.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public SerializedObject serializedObject { get; }
Remarks
Use the serializedObject inside the Editor.OnInspectorGUI() function of a custom Editor, as described on the page about the Editor class.
Do not use the serializedObject inside OnSceneGUI or Editor.OnPreviewGUI. Use the target property directly in those callback functions instead.
Additional Resources: Editor class, SerializedObject class.