Version: 2020.1
public SerializedObject serializedObject ;

説明

object や objects の SerializedObject

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.

関連項目: Editor クラス、SerializedObject クラス .