Hi everyone,
I need your help.
I want to instantiate an object randomly in one of the 3 spawn point which I created.
After do that I need to call “Transform” (with GetComponent) of the point where the object is spawned, in the script attached to the object spawned.
My question is: How can I do to get transform, in the script attached to the object spawned, of point where the object is spawned?
I need something like OnTriggerEnter?
Thanks