Exemplo n.º 1
0
 void Start()
 {
     playerLife = GetComponent <playerLife>();
 }
Exemplo n.º 2
0
 void Start()
 {
     statsScore = myScore;
     statsHP = myHP;
     pLife = GameObject.FindWithTag("UI").GetComponent<playerLife>();
 }