Hello, I am currently working on creating my first mod for KSP and I find myself sort of hung up on UI creation in KSP.
I followed the example given in
but 1) I don't want to tie my UI to a specific part like the author of the above video does, I'd rather tie it to a button click in the game much like Kerbal Alarm Clock does. Once I am able to display it via in game buttonclick events, 2) I'd like a radial gauge widget to appear similar in shape to a compass. Are there any good examples of both of those you could point me to. I've looked through Github at example code but a lot of the code is a mess and almost none of it is commented. All of the tutorials like the one above are close but not quiet what I am looking for. I feel like I need to use Unity to create a UI gameobject and then import that gameobject into KSP but I am unsure if that is the right course and if it is, how to even begin doing that. Thank you in advance for your help.