Exemplo n.º 1
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];
 }
Exemplo 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]);
 }