Ejemplo n.º 1
0
 // Use this for initialization
 protected override void Start()
 {
     animator = GetComponent <Animator>();
     moves    = new Guard_Moves_Behaviour(this);
     actions  = new Guard_Action_Behaviour(this);
 }
Ejemplo n.º 2
0
 //
 protected override void Start(string name_Unit, int life, int max_Life, int strength, int defense, int speed)
 {
     animator = GetComponent <Animator>();
     moves    = new Guard_Moves_Behaviour(this);
     actions  = new Guard_Action_Behaviour(this);
 }