I'm trying to implement a timer switch for powered appliances as a comp, but the only real thing that has me stumped is how to make a gizmo. I think understand the Comp and CompProperties_ classes, but the code for the specific Gizmos seems to be internal.
Any help would be very much appreciated!
I am using a few Gizmoes in my Shields mod.
Mainly have a look at the "GetGizmos()" function.
Hope that helps. Might not be the best way to do it, but should get you started.
https://github.com/jaxxa/ED-Shields/blob/master/Source/ED-Shields/Shields/Building_Shield.cs