Version: 2021.3
언어: 한국어

EditorUtility.OpenPropertyEditor

매뉴얼로 전환
public static void OpenPropertyEditor (Object obj);

파라미터

obj The editor will should the properties of the Object.

설명

Open properties editor for an Object.

This will open an inspector like window to show and edit the properties of the Object.

using UnityEditor;
using UnityEngine;

public class EditorUtilityOpenPropertyEditor { [MenuItem("Examples/OpenPropertyEditor")] public static void OpenSceneProperties() { var scene = AssetDatabase.LoadAssetAtPath<UnityEngine.Object>("Assets/Scenes/SampleScene.unity"); EditorUtility.OpenPropertyEditor(scene); } }