Timeline for How to apply a script to multiple Objects in Unity?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 26, 2015 at 21:47 | comment | added | Latency | You should take a look at prefabs, before you get to deep into your game, they are easy to pick up and will save you a ton of time. A quick run down would be, if you have an item that you want to have multiple copies of, drag it into the project panel, each time you drag that item that was created into the hierarchy panel it will create a new instance of it. If you make changes to the item and apply them it will carry over across all of those objects. | |
May 26, 2015 at 12:58 | comment | added | sagarkothari | Yet to learn about prefabs. Just started. | |
May 26, 2015 at 12:37 | comment | added | nickson104 | Also, if the objects are instantiated from a (or multiple) prefab(s), the change can be made to the prefab(s) and then applied. | |
May 26, 2015 at 12:24 | history | answered | sagarkothari | CC BY-SA 3.0 |