I’m curious what you all think about tip #17 here:
[ 50 Tips for Working with Unity (Best Practices) – Dev.Mag](http:// 50 Tips for Working with Unity (Best Practices) – Dev.Mag)
I have a situation where I’m considering having multiple prefabs that only differ in their properties. I currently have a single “jump gate” prefab which has a drop-down that controls where the player travels to when it’s activated.
For various reasons, I’m considering dumping the data from certain types of scenes into a file, and instantiating what I need after a “background” scene loads. (I currently load a separate scene in with LoadLevelAdditive) I could save off the property data into the file and set the property after my one jump gate prefab is instantiated. Or I could do like this tip says and create separate prefabs for each specific jump gate, which would be easier, but seems weird.
So I’m wondering in general what the pros and cons of this tip are. Creating separate prefabs that only differ in their properties is counter to my normal way of thinking, but that’s not necessarily a bad thing.