From 2ae9edd5bfd8b8baabb8cd995485f9ade4faebc9 Mon Sep 17 00:00:00 2001 From: wangguan <wangguan@kt007.com> Date: Wed, 04 Nov 2020 20:22:50 +0800 Subject: [PATCH] 增加音效 --- Assets/GabrielAguiarProductions/Unique_Projectiles_Volume_1/Scripts/ProjectileMoveScript.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/GabrielAguiarProductions/Unique_Projectiles_Volume_1/Scripts/ProjectileMoveScript.cs b/Assets/GabrielAguiarProductions/Unique_Projectiles_Volume_1/Scripts/ProjectileMoveScript.cs index ab37108..559db9c 100644 --- a/Assets/GabrielAguiarProductions/Unique_Projectiles_Volume_1/Scripts/ProjectileMoveScript.cs +++ b/Assets/GabrielAguiarProductions/Unique_Projectiles_Volume_1/Scripts/ProjectileMoveScript.cs @@ -50,10 +50,10 @@ } } - if (shotSFX != null && GetComponent<AudioSource>()) - { - GetComponent<AudioSource>().PlayOneShot(shotSFX); - } + // if (shotSFX != null && GetComponent<AudioSource>()) + // { + // GetComponent<AudioSource>().PlayOneShot(shotSFX); + // } // StartCoroutine(RecycleParticle(gameObject, recycleDelay)); } -- Gitblit v1.9.1