/// <summary>
 /// Returns the name of a given scene.
 /// </summary>
 /// <param name="scene">Scene</param>
 /// <returns>Name of corresponding Unity scene file</returns>
 public static string SceneName(Scenes scene)
 {
     return SceneNames[(int) scene];
 }
Esempio n. 2
0
 /// <summary>
 /// Returns the name of a given scene.
 /// </summary>
 /// <param name="scene">Scene</param>
 /// <returns>Name of corresponding Unity scene file</returns>
 public static string SceneName(Scenes scene)
 {
     return(SceneNames[(int)scene]);
 }