starting a major rework, where all effects are controlled within a contact
This commit is contained in:
@@ -13,4 +13,11 @@ public static partial class Globals
|
||||
{
|
||||
_rng = new(SEED);
|
||||
}
|
||||
|
||||
public static T LoadScene<T>(string SCENE_PATH)
|
||||
{
|
||||
PackedScene scene = ResourceLoader.Load<PackedScene>(SCENE_PATH);
|
||||
T instance = (T)(object)scene.Instantiate();
|
||||
return instance;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user