| [ Web Proxy ] |
| Viewing: https://docs.unity3d.com/ScriptReference/EditorUtility.OpenPropertyEditor.html | [Back] [Original] |
| Parameter | Description |
|---|---|
| obj | The object to open in the properties editor. |
Open properties editor for an Object.
Opens an Inspector-like window to show and edit the properties of an 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); } }
| Web Proxy Viewer | New URL | Original Page |