tidy up level manager related scripts

scripts were not classified

created a LevelManager folder in the scripts folder
This commit is contained in:
Felix Boucher 2023-05-20 22:42:03 -04:00
parent d615b9abe4
commit 22abe69340
9 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6de7614753584724c88bf88102975375
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,4 +1,8 @@
public class Singleton<T> where T : Singleton<T>, new()
/// <summary>
/// this class is not a MonoBehaviour. Its purpose is to make it possible to have global classes that will not be in the scene.
/// </summary>
/// <typeparam name="T"></typeparam>
public class Singleton<T> where T : Singleton<T>, new()
{
private static T _instance;
public static T Instance

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a9710b36b8754824f8f0cc22dc85ed59
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: