Example #1
0
 void Start()
 {
     sp                     = gameObject.GetComponent <SummonPassive>();
     sp.vida                = 400;
     sp.dano                = 40;
     sp.velocidadeAtaque    = 3;
     sp.velocidadeMovimento = 4;
 }
Example #2
0
 void Start()
 {
     spirit = gameObject.GetComponent <Spirit>();
     sp     = gameObject.GetComponent <SummonPassive>();
     initStatus();
 }