Question by
tenkyofmadness · May 13, 2020 at 08:47 AM ·
endless runnerclonesobject pooltagging
How do I get player to react differently on different pooled objects (clones) that are untagged (How do i tag them)?
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.
Comment