mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-09-28 18:50:48 +00:00
update
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace stonevox
|
||||
{
|
||||
public class Singleton<T> where T : class
|
||||
{
|
||||
private static T Instance;
|
||||
public static T INSTANCE { get { return Singleton<T>.Instance; } }
|
||||
|
||||
public Singleton()
|
||||
{
|
||||
Instance = this as T;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user