Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     Dqwd           = GameObject.Find("Player").GetComponent <dqwd>();
     timebar2.value = 1 - (float)(Dqwd.curTime2) / (float)(Dqwd.coolTime2);
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     dqwd           = GameObject.Find("Player").GetComponent <dqwd>();
     timebar4.value = dqwd.dmgcool * 2 / 3;
 }