INTERNAL_CALL_GetSceneByName() private method

private INTERNAL_CALL_GetSceneByName ( string name, Scene &value ) : void
name string
value Scene
return void
Ejemplo n.º 1
0
        /// <summary>
        ///   <para>Searches through the scenes added to the SceneManager for a scene with the given name.</para>
        /// </summary>
        /// <param name="name">Name of scene to find.</param>
        /// <returns>
        ///   <para>The scene if found or an invalid scene if not.</para>
        /// </returns>
        public static Scene GetSceneByName(string name)
        {
            Scene scene;

            SceneManager.INTERNAL_CALL_GetSceneByName(name, out scene);
            return(scene);
        }
Ejemplo n.º 2
0
        public static Scene GetSceneByName(string name)
        {
            Scene result;

            SceneManager.INTERNAL_CALL_GetSceneByName(name, out result);
            return(result);
        }