public static int GetCost(ModificationCategory cat) { var cost = 0; switch ((int)cat) { case 0: cost = DyeCost; break; case 1: cost = HairCost; break; case 2: cost = EyesCost; break; case 3: cost = AccessoryCost; break; default: break; } return(cost); }
private PuppetModificationBase CheckTrending(ModificationCategory mod) { if (level % 4 == 0 && trending && mod == trending.Category) { if (UnityEngine.Random.Range(0, 4) == 0) { return(trending); } } return(null); }