Esempio n. 1
0
 void Awake()
 {
     fuel         = GameObject.FindWithTag("Player").GetComponent <PlayerFuelBar>();
     percentValue = this.GetComponentInParent <UiBar>();
 }
Esempio n. 2
0
 void Awake()
 {
     health       = GameObject.FindWithTag("Player").GetComponent <PlayerHealthBar>();
     percentValue = this.GetComponentInParent <UiBar>();
 }