public static void Shutdown() { if (ResourceTypeManager.instance != null) { ResourceTypeManager.instance.ShutdownInternal(); ResourceTypeManager.instance = null; } }
public static void Init() { Trace.Assert(ResourceTypeManager.instance == null); ResourceTypeManager.instance = new ResourceTypeManager(); ResourceTypeManager.instance.InitInternal(); }