projectile fix
This commit is contained in:
parent
4fa693336d
commit
896eb0c137
|
|
@ -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(){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user