public override void Attack() { SetLaserDirection(); LaserController laserController = Instantiate(laser, transform.position, LaserRotation()).GetComponent <LaserController>(); laserController.SetValues(laserDirection, tag, AttackDamage); nextAttackTime = Time.time + AttackRechargeTimer; }