public void OnAttackFired(string state) { //Debug.Log("Attack Fired: " + Time.time + " - > " + state ); if (state == "Trigger") { isAttacking = true; Transform shootpoint = GetNextAttackShootPoint(); if (nextObrBullet != null) { //Debug.Log("Shoot Orb !!!"); shootController.ShootOrb(nextObrBullet, gameObject, shootpoint, target); // reset orb playerController.nextOrbSkill = null; nextObrBullet = null; } else { //Debug.Log("Shoot Bullet !!!"); shootController.Shoot(gameObject, shootpoint, target); } // gizmos gizmosShootPoint = shootpoint.position; gizmosReceivePoint = target.position; } else { // End AddCount(); if (!CanAttack()) // && !player.isChanneling { FightStance(); } } }