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