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