2using System.Runtime.CompilerServices;
3using System.Runtime.InteropServices;
12 public static string loadedScene { [MethodImpl(MethodImplOptions.InternalCall)]
get; }
20 INTERNAL_load_scene(fileName);
23 [MethodImpl(MethodImplOptions.InternalCall)]
24 private static extern void INTERNAL_load_scene(
string fileName);
static void LoadScene(string fileName)
Loads the scene by its name
static string loadedScene
Gets the currently loaded scene name