Falco Engine 3.9.0.1 (beta)
SceneManager.cs
Go to the documentation of this file.
1using System;
2using System.Runtime.CompilerServices;
3using System.Runtime.InteropServices;
4
5namespace FalcoEngine
6{
7 public static class SceneManager
8 {
12 public static string loadedScene { [MethodImpl(MethodImplOptions.InternalCall)] get; }
13
18 public static void LoadScene(string fileName)
19 {
20 INTERNAL_load_scene(fileName);
21 }
22
23 [MethodImpl(MethodImplOptions.InternalCall)]
24 private static extern void INTERNAL_load_scene(string fileName);
25 }
26}
static void LoadScene(string fileName)
Loads the scene by its name
Definition: SceneManager.cs:18
static string loadedScene
Gets the currently loaded scene name
Definition: SceneManager.cs:12