Quantcast
Channel: Questions in topic: "enemy"
Viewing all articles
Browse latest Browse all 1488

I want my bulletHole to not appear when its an enemy but it isnt working

$
0
0
if (!gameObject.CompareTag("Enemy")) { GameObject bulletHoleToSpawn = Instantiate(bulletHoleGraphic, rayHit.point, Quaternion.LookRotation(rayHit.normal)); bulletHoleToSpawn.transform.forward = rayHit.normal; }

Viewing all articles
Browse latest Browse all 1488

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>