For my level I added a lot of trees (duplicates of same sprite with different sizes) and now i wanna add a collider to all of them. Except I cant do it one by one as its too time consuming. How do I apply changes to all at once?
To solve your specific problem, select all trees in your Hierarchy and assign the collider to them in the Inspector. All selected game objects will get this collider.
For future reference, if you plan to duplicate the same objects, make the game object a prefab first. Then duplicate it in your scene, so all duplicates are connected to your prefab. Then you would be able to simply add a collider to the prefab. The connected game objects would get the collider automatically.
Did this help?
- Forum User Guides : How to mark a topic as solved
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.