Is it possible for my custom buildable to use an existing vanilla UI? Like the constructor UI?
or do I need to create the entire UI from scratch?
Solution:Jump to solution
I'm pretty sure you can use an existing UI. I think the machine production UIs are pretty much the same save for a decorative texture. But your buildable may need to use the same base class as the vanilla machines depending on how the UI is implemented
2 Replies
Solution
I'm pretty sure you can use an existing UI. I think the machine production UIs are pretty much the same save for a decorative texture. But your buildable may need to use the same base class as the vanilla machines depending on how the UI is implemented
the base game UI code is not accessible to us and makes assumptions about what building class it's being used on. if you want to use a vanilla UI you should probably be sure your building extends the vanilla building, which will hopefully result in most of that mystery code still working