/// <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);
}