示例#1
0
    //////// FOOTER
    public void SetProgressBarValues(int currentValue, int maxValue)
    {
        footerGroup.gameObject.SetActive(true);

        int remainingValue = (maxValue - currentValue);

        progressBar.SetValues(remainingValue, maxValue);

        progressText.Text = string.Format("oxygen level: {0}", remainingValue.ToString());
    }