Exemplo n.º 1
0
 public override float StartBehavior(EnemyController enemyController, Character character)
 {
     if (lookAtPlayer == true)
     {
         character.LookAt(character.Target.transform);
     }
     character.SetAutoCombo(autoCombo);
     character.Action(attackController);
     return(Mathf.Max(0.01f, base.StartBehavior(enemyController, character)));
     //return base.StartBehavior(enemyController, character);
 }