private void UsingBuffSpeed() { if (_CountDashCooldown > _DashCooldown) { DataCollectorController.AddStat("Dash"); _Source.PlayOneShot(_SoundDash); StartCoroutine("BuffSpeed"); _CountDashCooldown = 0.0f; } }
private void UsingSlam() { if (_CountSlamCooldown > _SlamCooldown) { _Source.PlayOneShot(_SoundSlam); DataCollectorController.AddStat("Slam"); _IsNormalMove = false; StartCoroutine("Slam"); _CountSlamCooldown = 0.0f; } }
private void UsingGun() ////////////////////////////////////////// { if (_CountGunCooldown > _GunCooldown) { _Source.PlayOneShot(_SoundShoot); DataCollectorController.AddStat("Shoot"); Instantiate(bullet, transform.position, transform.rotation); _CountGunCooldown = 0.0f; } }
private void UsingBlink() { if (_CountBlinkCooldown > _BlinkCooldown) { _Source.PlayOneShot(_SoundBlink); DataCollectorController.AddStat("Blink"); _TeleportTarget = transform.position; _IsNormalMove = false; StartCoroutine("Blink"); _CountBlinkCooldown = 0.0f; } }