EditorApplication
- applicationContentsPath
- applicationPath
- Beep
- CallbackFunction
- currentScene
- ExecuteMenuItem
- Exit
- HierarchyWindowItemCallback
- hierarchyWindowItemOnGUI
- isCompiling
- isPaused
- isPlayingOrWillChangePlaymode
- isPlaying
- LockReloadAssemblies
- modifierKeysChanged
- NewScene
- OpenProject
- OpenSceneAdditive
- OpenScene
- playmodeStateChanged
- ProjectWindowItemCallback
- projectWindowItemOnGUI
- RepaintHierarchyWindow
- RepaintProjectWindow
- SaveAssets
- SaveCurrentSceneIfUserWantsTo
- SaveScene
- Step
- timeSinceStartup
- UnlockReloadAssemblies
- update
EditorApplication.isPlayingOrWillChangePlaymode 是否正播放或将切换播放模式
static var isPlayingOrWillChangePlaymode : bool
Description描述
Is editor either currently in play mode, or about to switch to it? (Read Only)
当前编辑器是否在播放模式或者即将切换到播放模式(只读)。
This will return true when editor will switch to play mode after finishing some tasks (e.g. after scripts will be recompiled).
当编辑器完成了某些任务将要返回播放模式时返回true。
参见:isPlaying, isCompiling.
最后修改:2011年6月25日 Saturday 18:39