public override void UpdateAmount(int current, int max) { Container.ChangeLiquidAmount(Mathf.Lerp(MinLiquidAmount, MaxLiquidAmount, current / (float)max)); }