Exemple #1
0
 void Start()
 {
     player = gameObject.GetComponentInParent<GuyMove>();
 }
Exemple #2
0
 void Start()
 {
     player = gameObject.GetComponentInParent <GuyMove>();
 }
 // Use this for initialization
 void Start()
 {
     currentHealth = startingHealth;
     rigid_body = GetComponentInParent<Rigidbody>();
     guy = gameObject.GetComponentInParent<GuyMove>();
 }
Exemple #4
0
 // Use this for initialization
 void Start()
 {
     currentHealth = startingHealth;
     rigid_body    = GetComponentInParent <Rigidbody>();
     guy           = gameObject.GetComponentInParent <GuyMove>();
 }