Example #1
0
 public void UnloadContent()
 {
     menu.UnloadContent();
     page.UnloadContent();
     if (chemicalManager != null)
     {
         chemicalManager.UnloadContent();
     }
     if (itemManager != null)
     {
         itemManager.UnloadContent();
     }
     if (characterManager != null)
     {
         characterManager.UnloadContent();
     }
     foreach (Menu m in clone)
     {
         m.UnloadContent();
     }
     foreach (Image i in infoImage)
     {
         i.UnloadContent();
     }
 }
Example #2
0
 public void UnloadContent()
 {
     Image.UnloadContent();
     if (hasParty)
     {
         ChemicalManager.UnloadContent();
     }
 }