projectile fix
This commit is contained in:
@@ -79,7 +79,7 @@ public class RangeProjectile : NetworkBehaviour
|
|||||||
//Instantiate hit effect
|
//Instantiate hit effect
|
||||||
Instantiate(hitEffectVfx , transform.position , Quaternion.identity);
|
Instantiate(hitEffectVfx , transform.position , Quaternion.identity);
|
||||||
Destroy(gameObject);
|
Destroy(gameObject);
|
||||||
Destroy(hitEffectVfx, hitLifetime);
|
//Destroy(hitEffectVfx, hitLifetime);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnDrawGizmos(){
|
void OnDrawGizmos(){
|
||||||
|
|||||||
Reference in New Issue
Block a user