r/SPmod • u/berra86 • Aug 22 '16
Modding GUI elements.
Hey, Could anyone help me with modding the GUI, for now I'd be happy just adding a Text object saying "Hello world" in the top right corner, my problem so far is that I haven't the slightest of how to get Unity UI/GUI objects on there. I assume i must create them either as standard Unity Canvas "parts"/"objects", like standard Unity UI buttons or such, and then make them visible using the serviceprovider for SimplePlanes and the SimplePlanes GUI-part of said serviceprovider.
I have looked at the serviceprovider and what can be "accessed" from it, as far as I have understood now I can enable or disable the default controls etc, but I can't seem to figure out how to add my own GUI/UI objects using it, or something else.
View all comments
Show parent comment
1
u/berra86 Aug 22 '16
Awesome! Huge thanks for your reply, I actually just got my text to show, and now thanks to your reply I also understand why it didn't show up earlier, again thanks! =)