Dreikblack Posted May 25 Share Posted May 25 Prefab's components lack of properties - can't be found in Component::Load(), also map.ultra lack of component properties Quote Link to comment Share on other sites More sharing options...
Dreikblack Posted May 25 Author Share Posted May 25 Tried again with other components. It loads properties after all, but original values from prefab, not from edited fields in map which should override it i think because otherwise prefabs are way less useful. Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted May 30 Solution Share Posted May 30 If prefabs can be modified without breaking the prefab, then they are not prefabs, they are templates. The idea of prefabs is you can go back and modify the file, and all your maps adjust without having to be updated. I have not yet added functionality to "break" prefabs, which would turn an object from a prefabs into a regular non-prefab object that gets stored in the map. If that is not the behavior we want, then we should have a discussion about that. But my understanding is that prefabs retain all their original properties except position, rotation, and scale. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Dreikblack Posted May 31 Author Share Posted May 31 11 hours ago, Josh said: I have not yet added functionality to "break" prefabs, which would turn an object from a prefabs into a regular non-prefab object that gets stored in the map. Yeah, probably it should be enough. Currently prefabs are just useless if i need to change anything in component values. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.