Example #1
0
 void Start()
 {
     i_move = GetComponent<MoveControler>();
     i_anim = GetComponent<AnimatorControler>();
     i_attack = GetComponent<AttackControler>();
     i_anim.setState(StatePlayer.falling);
 }
Example #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>();
 }
Example #3
0
 void Awake()
 {
     animation = GetComponent<AnimatorControler>();
     life = 100;
     currentLife = life;
 }
Example #4
0
 void Start()
 {
     this.a_animatorControler = GetComponent<AnimatorControler>();
     this.a_moveControler = GetComponent<MoveControler>();
     this.isAttack = false;
     this.otherAttack = false;
 }
Example #5
0
 void Start()
 {
     this.countJump = 0;
     this.Flip();
     this.anim = GetComponent<AnimatorControler>();
     this.attackControl = GetComponent<AttackControler>();
 }