Example #1
0
 public static void OnLoadSprites(Dictionary <string, Sprite> givenDict, string resourcePath)
 {
     if (resourcePath.EndsWith("ItemIcons.png"))
     {
         ModManager.AddItemImages(givenDict);
     }
     else if (resourcePath.EndsWith("Skills.png"))
     {
         ModManager.AddSkillImages(givenDict);
     }
 }