using System.Collections.Generic; using Plugins.CxShine.Singleton; namespace Api { public class ConfigManager : ScriptSingleton { public Dictionary cockTypesMap = new Dictionary(); public List selectDiamonds; public void setupCockTypes(List cockTypes) { foreach (var dataCockType in cockTypes) { ConfigManager.Instance.cockTypesMap[dataCockType.id] = dataCockType; } } public void setupSelectDiamonds(List diamonds) { this.selectDiamonds = diamonds; } } }