// Use this for initialization
 void Start()
 {
     rotar    = GetComponent <Rotacion>();
     feedback = GetComponentInChildren <DisparoCharmander>();
     disparo  = GetComponent <DisparoCharmander>();
     motor    = GetComponent <VelocidadCharmander>();
 }
Beispiel #2
0
 // Use this for initialization
 void Start()
 {
     trigger     = GetComponent <VelocidadCharmander>();
     resistencia = GetComponent <StatsCharmander>();
     staminaMax  = resistencia.staminaMax;
 }