r/SPmod • • 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.

1 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/berra86 Sep 03 '16

Nothing fancy, to be honest I haven't worked on that mod over the last week, but it's just going to show current lap time, last lap time, and some data like that. I'm working on a vehicle racing mod.