Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEditor
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseMain Application class.
applicationContentsPath | Path to the Unity editor contents folder. (Read Only) |
applicationPath | Returns the path to the Unity editor application. (Read Only) |
contextualPropertyMenu | Callback raised whenever the user contex-clicks on a property in an Inspector. |
delayCall | Delegate which is called once after all inspectors update. |
hierarchyWindowChanged | A callback to be raised when an object in the hierarchy changes.Each time an object is (or a group of objects are) created, renamed, parented, unparented or destroyed this callback is raised. |
hierarchyWindowItemOnGUI | Delegate for OnGUI events for every visible list item in the HierarchyWindow. |
isCompiling | Is editor currently compiling scripts? (Read Only) |
isPaused | Is editor currently paused? |
isPlaying | Is editor currently in play mode? |
isPlayingOrWillChangePlaymode | Is editor either currently in play mode, or about to switch to it? (Read Only) |
isRemoteConnected | Is editor currently connected to Unity Remote 4 client app. |
isTemporaryProject | Returns true if the current project was created as a temporary project. |
isUpdating | True if the Editor is currently refreshing the AssetDatabase. |
modifierKeysChanged | Delegate for changed keyboard modifier keys. |
projectWindowChanged | Callback raised whenever the state of the Project window changes. |
projectWindowItemOnGUI | Delegate for OnGUI events for every visible list item in the ProjectWindow. |
scriptingRuntimeVersion | Returns the scripting runtime version currently used by the Editor. |
searchChanged | Callback raised whenever the contents of a window's search box are changed. |
timeSinceStartup | The time since the editor was started. (Read Only) |
update | Delegate for generic updates. |
Beep | Plays system beep sound. |
DirtyHierarchyWindowSorting | Set the hierarchy sorting method as dirty. |
ExecuteMenuItem | Invokes the menu item in the specified path. |
Exit | Exit the Unity editor application. |
LoadLevelAdditiveAsyncInPlayMode | Load the given level additively in play mode asynchronously |
LoadLevelAdditiveInPlayMode | Load the given level additively in play mode. |
LoadLevelAsyncInPlayMode | Load the given level in play mode asynchronously. |
LoadLevelInPlayMode | Load the given level in play mode. |
LockReloadAssemblies | Prevents loading of assemblies when it is inconvenient. |
OpenProject | Open another project. |
QueuePlayerLoopUpdate | Normally, a player loop update will occur in the editor when the scene has been modified. This method allows you to queue a player loop update regardless of whether the scene has been modified. |
RepaintHierarchyWindow | Can be used to ensure repaint of the HierarchyWindow. |
RepaintProjectWindow | Can be used to ensure repaint of the ProjectWindow. |
SetTemporaryProjectKeepPath | Sets the path that Unity should store the current temporary project at, when the project is closed. |
Step | Perform a single frame step. |
UnlockReloadAssemblies | Must be called after LockReloadAssemblies, to reenable loading of assemblies. |
pauseStateChanged | Event that is raised whenever the Editor's pause state changes. |
playModeStateChanged | Event that is raised whenever the Editor's play mode state changes. |
CallbackFunction | Delegate to be called from EditorApplication callbacks. |
HierarchyWindowItemCallback | Delegate to be called for every visible list item in the HierarchyWindow on every OnGUI event. |
ProjectWindowItemCallback | Delegate to be called for every visible list item in the ProjectWindow on every OnGUI event. |
SerializedPropertyCallbackFunction | Delegate to be called from EditorApplication contextual inspector callbacks. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information