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.OpenProject 打开工程
static function OpenProject (projectPath : string, params args : string[]) : void
Parameters参数
-
projectPathThe path of a project to open.
打开工程的路径 -
argsArguments to pass to command line.
传递给命令行的参数
Description描述
Open another project.
打开另外一个工程。
Note that this function will not exit immediately. It will open another project after executing function returns.
注意,这个函数并不会立即退出,它在执行函数返回后,将打开另外一个工程。
最后修改:2011年6月25日 Saturday 20:06