public static void Add(MoneyComponent C) { if (Components.Contains(C)) { return; } Components.Add(C); }
public static void Remove(MoneyComponent C) { Components.Remove(C); }
public StockBatiment() { MoneyComponent = new MoneyComponent(); Stock = new Stock(); }
// Use this for initialization void Start() { _pickupState = PickupState.Empty; _moneyComponent = Money.GetComponent <MoneyComponent>(); }