Beispiel #1
0
 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;
 }
Beispiel #2
0
 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;
 }