Editor.serializedObject

매뉴얼로 전환
public SerializedObject serializedObject ;

설명

A SerializedObject representing the object or objects being inspected.

Use the serializedObject inside the OnInspectorGUI function of a custom Editor, as described on the page about the Editor class.

Do not use the serializedObject inside OnSceneGUI or OnPreviewGUI. Use the target property directly in those callback functions instead.

See Also: Editor class, SerializedObject class.