Esempio n. 1
0
 // Update is called once per frame
 void Update()
 {
     sliderAP.value = t_mgr.GetAP();
     sliderEP.value = t_mgr.GetEP();
     sliderPP.value = t_mgr.GetPP();
     sliderDP.value = t_mgr.GetDP();
     Ap();
     Ep();
     Hp();
     Pp();
 }
Esempio n. 2
0
    // Update is called once per frame
    void Update()
    {
        sliderEP.value = t_mgr.GetEP();

        if (!bChk)
        {
            bChk = true;
            StartCoroutine("InvisibleBar");
        }
        else if (sliderEP.value < sliderEP.maxValue && bChk)
        {
            bChk = false;
            StopCoroutine("InvisibleBar");
            for (int i = 0; i < 2; i++)
            {
                image[i].color = Color.white;
            }
        }
    }