public static void Start() { if (!firstInit) { firstInit = true; SpriteRegistry.Start(); AudioClipRegistry.Start(); SpriteFontRegistry.Start(); } if (MODFOLDER == null || MODFOLDER == "") { MODFOLDER = EDITOR_MODFOLDER; } //if (CurrMODFOLDER != MODFOLDER || CurrENCOUNTER != ENCOUNTER) InitAll(); Initialized = true; }
public static void Start() { if (!firstInit) { firstInit = true; SpriteRegistry.Start(); AudioClipRegistry.Start(); SpriteFontRegistry.Start(); ShaderRegistry.Start(); } if (string.IsNullOrEmpty(MODFOLDER)) { MODFOLDER = EDITOR_MODFOLDER; } //if (CurrMODFOLDER != MODFOLDER || CurrENCOUNTER != ENCOUNTER) InitAll(); Initialized = true; }