Hello,
I have a prefab with an attached script that rotates the object if the user clicks on it.
I’m doing this by passing gameObject to the rotate function.
When I make instances of this prefab , when the user clicks on an instance, it rotates all of the instances. Is there any way to make this script only work on the unique instance ?
thanks