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.LockReloadAssemblies 锁定重载程序集
static function LockReloadAssemblies () : void
Description描述
Prevents loading of assemblies when it is inconvenient.
当编辑器不便时,阻止加载程序集。
For example during drag operations you might want to prevent assembly reloading to not lose state during the drag. Each LockReloadAssemblies must be matched by UnlockReloadAssemblies, otherwise scripts will never unload. Unity automatically prevents reloading during mouse down.
例如,在拖动操作中,你可能想避免拖动中重新加载组件丢失状态。每个LockReloadAssemblies必须与UnlockReloadAssemblies配对使用,否则脚本将永远不会卸载。Unity自动防止当鼠标点击时重装。
参见:EditorApplication.UnlockReloadAssemblies
最后修改:2011年6月25日 Saturday 21:01