public override void SetupConfigPanel(GameObject go) { var c = go.GetComponent <FactoryUI>(); c.StorageInfoText.text = $"Space Taken:\nIN: {req.GetEndlessReserve()} / {ConfigManager.S.Config.FactoryStorageMaxSize}, OUT: {Stock.GetSizeOccupiedWithReservation()} / {Stock.MaxSize}\nCrafting {Formula.Output}"; c.BAmmo.onClick.AddListener(new UnityAction(() => { Formula = ConfigManager.S.Config.Formulas[1]; UpdateReq(); OpenGameMenu.S.UpdateRoomInfo(); })); c.BSteel.onClick.AddListener(new UnityAction(() => { Formula = ConfigManager.S.Config.Formulas[0]; UpdateReq(); OpenGameMenu.S.UpdateRoomInfo(); })); }