Quantcast
Channel: Questions in topic: "tagging"
Viewing all articles
Browse latest Browse all 120

How do I get player to react differently on different pooled objects (clones) that are untagged (How do i tag them)?

$
0
0
Im making 2D endless runner and im using object pooling. I want to make player react differently to different objects (clones). For example cloned obstacle will damage the player while some other one might heal them. All my pulled objects are untagged and I have no idea how and where to tag them. Is it in ObjectPool script or that prefabs that im cloning script. Since all the posts about that are from 2011-2015.

Viewing all articles
Browse latest Browse all 120

Trending Articles



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