Ejemplo n.º 1
0
 // Use this for initialization
 void Awake()
 {
     dead   = false;
     motor  = GetComponent <ProjectileMotor> ();
     lifes  = GetComponents <ProjectileLife> ();
     onDies = GetComponents <ProjectileOnDie> ();
     OnAwake();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     motor = GetComponent <ProjectileMotor>();
 }