basically. I have a range (50+) prefabs of objects with many scripts on.
These objects are instantiated through a menu, but it is getting quite tedious to add/remove all these scripts for all objects when I change something or make a new script.
Is it possible to add ONE script which at instatiation will add all the other scripts I need on these objects?
I tried AddComponent() in the instantiate function…no luck
and to assign through a Start func…no luck there either.
best,
If it’s not working you’re not doing it correctly, AddComponent does exactly what it should. Try posting your code here if you want more specific help.