void Awake() { _manuModel = new ManuModel(name, description, button, cost); _manuModel.GetManuView().GetManufactureButton().onClick.AddListener(Manufactureing); _manufacture = new List <Manufacture>(); _manufacture.Add(new Manufacture("Machineguns", "You can build machineguns", AllManufacture.Machinegun, 10)); _manufacture.Add(new Manufacture("Rockets", "Make rockets", AllManufacture.Rockets, 10)); _manufacture.Add(new Manufacture("Fuel", "Make fuel for engines", AllManufacture.Fuel, 2)); }
// Use this for initialization void Awake() { manuModel = new ManuModel(); inven = new Inventory(); }
void Awake() { _manuModel = new ManuModel(itemName, description, button, cost); }
// Use this for initialization void Start() { manuModel = manuController.GetManuModel(); UpdateViews(); }