Version: 2023.1
言語: 日本語
public Object target ;

説明

ターゲットとなるオブジェクト

For editors that support multi-object editing, the target property should not be used inside OnInspectorGUI since it only refers to the first of the edited objects. It should still be used in OnSceneGUI and OnPreviewGUI, which will be called once for each of the selected objects with the target property referring to each of them in turn.

関連項目: targetsserializedObjectEditor クラス .