INTERNAL_CALL_OpenScene() private method

private INTERNAL_CALL_OpenScene ( string scenePath, OpenSceneMode mode, Scene &value ) : void
scenePath string
mode OpenSceneMode
value Scene
return void
コード例 #1
0
        public static Scene OpenScene(string scenePath, [DefaultValue("OpenSceneMode.Single")] OpenSceneMode mode)
        {
            Scene result;

            EditorSceneManager.INTERNAL_CALL_OpenScene(scenePath, mode, out result);
            return(result);
        }
コード例 #2
0
        public static Scene OpenScene(string scenePath)
        {
            OpenSceneMode mode = OpenSceneMode.Single;
            Scene         result;

            EditorSceneManager.INTERNAL_CALL_OpenScene(scenePath, mode, out result);
            return(result);
        }