Exemplo n.º 1
0
 void Start()
 {
     i_move = GetComponent<MoveControler>();
     i_anim = GetComponent<AnimatorControler>();
     i_attack = GetComponent<AttackControler>();
     i_anim.setState(StatePlayer.falling);
 }
Exemplo n.º 2
0
 void Start()
 {
     this.moving = false;
     this.attack = false;
     this.isAttackAgain = true;
     this.anim = GetComponent<AnimatorControler>();
     this.enemyMoviment = GetComponent<MovimentBehaviour>();
     this.enemyAttackController = GetComponent<AttackControler>();
 }
Exemplo n.º 3
0
 void Start()
 {
     this.countJump = 0;
     this.Flip();
     this.anim = GetComponent<AnimatorControler>();
     this.attackControl = GetComponent<AttackControler>();
 }