Exemplo n.º 1
0
 /// <summary>
 /// Refreshes the visual representation of all shop items based on previous actions
 /// or user interaction, meaning we set them to 'purchased' or 'selected' in the GUI.
 /// You can call this manually in case PlayerData (unlock requirements) have changed.
 /// </summary>
 public static void RefreshAll()
 {
     foreach (string key in instance.IAPItems.Keys)
     {
         instance.Refresh(key);
     }
 }