Version: 2021.2
言語: 日本語

EditorApplication

class in UnityEditor

マニュアルに切り替える

説明

UnityEditor の軸となるアプリケーションクラスです

Static 変数

applicationContentsPath現在起動している UnityEditor の Contents フォルダーのパス(読み取り専用)
applicationPathUnityEditor アプリケーションのパス(読み取り専用)
contextualPropertyMenuCallback raised whenever the user contex-clicks on a property in an Inspector.
delayCallすべてのインスペクターが更新された後に1度だけ呼び出されるデリゲート
hierarchyWindowItemOnGUIOnGUI イベントごとに HierarchyWindow に表示されているリスト項目ごとに呼び出されるデリゲートです
isCompiling現在スクリプトがコンパイルされているかどうか(読み取り専用)
isPausedエディターが一時停止中かどうか
isPlayingエディターが再生モードかどうか
isPlayingOrWillChangePlaymodeエディターが現在再生モードか、再生モードに切り替えようとしているかどうか(読み取り専用)
isRemoteConnectedエディターが Unity Remote 4 と接続しているかどうか
isTemporaryProjectReturns true if the current project was created as a temporary project.
isUpdatingTrue if the Editor is currently refreshing the AssetDatabase.
modifierKeysChangedキーボードの修飾キーが更新されたときに呼び出されるデリゲート
projectWindowItemOnGUIProjectWindow で表示されているアイテムリストごとの OnGUI イベントのデリゲート
searchChangedウィンドウの検索ボックスの内容が変更されるごとに呼び出されるコールバック
timeSinceStartupエディターが起動してからの時間(読み取り専用)
updateUnityEditor で更新処理を行うためのデリゲート

Static 関数

BeepPC システムのビープ音を再生します。
DirtyHierarchyWindowSortingヒエラルキーのオブジェクトソートが、最新状態ではないとしてダーティーフラグを立てます。
EnterPlaymodeSwitches the editor to Play mode.
ExecuteMenuItemパスを指定して MenuItem を実行します
ExitUnityEditor を終了させます
ExitPlaymodeSwitches the editor to Edit mode.
LockReloadAssembliesAssembly の再コンパルを行わないようにロックします。
OpenProject他の Unity プロジェクトを開きます
QueuePlayerLoopUpdateNormally, 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.
RepaintHierarchyWindowHierarchyWindow の再描画を行うために使用することができます。
RepaintProjectWindowProjectWindow の再描画を行うために使用することができます。
SetTemporaryProjectKeepPathSets the path that Unity should store the current temporary project at, when the project is closed.
Stepゲーム再生で 1 フレームごと進ませる場合に使用します。
UnlockReloadAssembliesEditorApplication.LockReloadAssemblies でロックしたアセンブリロードを解除します

Events

hierarchyChangedEvent that is raised when an object or group of objects in the hierarchy changes.
pauseStateChangedEvent that is raised whenever the Editor's pause state changes.
playModeStateChangedEvent that is raised whenever the Editor's play mode state changes.
projectChangedEvent that is raised whenever the state of the project changes.
quittingUnity raises this event when the editor application is quitting.
wantsToQuitUnity raises this event when the editor application wants to quit.

デリゲート

CallbackFunction EditorApplication のコールバックから呼び出されるデリゲートです。
HierarchyWindowItemCallbackOnGUI イベントごとに HierarchyWindow に表示されているリスト項目ごとに呼び出されるデリゲートです。
ProjectWindowItemCallbackOnGUI イベントごとに ProjectWindow に表示されているリスト項目ごとに呼び出されるデリゲートです。
SerializedPropertyCallbackFunctionDelegate to be called from EditorApplication contextual inspector callbacks.