This is more of a hypothetical quesiton than a syntactic one. Still, if I can do this it would be convenient to say the least, and if it’s in the manual, I probably missed it somewhere.
The best example I can think of is like the voxels in Minecraft. Say I have a whole bunch of prefabs with common traits - they’re uniform cubes, you can walk on 'em, mine 'em, and most of them can spawn drops. But at the same time they’re all different in what they can survive, what they spit out, etc.
The blocks I’m gonna be working with have most of the same basic concepts - so is there any way I can just assign them all the same solid, minable parent (pretty literally a super-prefab with sub-prefabs under it), or do I just have to copypaste some sort of class/inheritance script in every ‘block’ prefab type I make?
I think what you’re talking about IS in fact scripts, just have a script with the basic characteristics and assign to all, then have a seperate script for each different type of block that gives it it’s unique traits. Or have the same script check which type of block it’s assigned to and behave accordingly.