Control Panel - NeisesMike/VehicleFramework GitHub Wiki
This is the control panel of your vehicle.
It has buttons that control various parts of the vehicle.
For example, this is the only way to control flood lights.
Overview
Submarine has the field:
public virtual GameObject ControlPanel => null;
Whatever GameObject you supply here must have children named "1" through "9."
To see why, look at this snip from the ControlPanel class:
buttonHeadLights = transform.Find("1").gameObject;
buttonNavLights = transform.Find("2").gameObject;
buttonAutoPilot = transform.Find("3").gameObject;
buttonInteriorLights = transform.Find("4").gameObject;
button5 = transform.Find("5").gameObject;
buttonDefaultColor = transform.Find("6").gameObject;
buttonFloodLights = transform.Find("7").gameObject;
button8 = transform.Find("8").gameObject;
buttonPower = transform.Find("9").gameObject;
You must also let those buttons have the MarmosetUber shader applied to them. The only reason they would not have the Marmoset shader is if you specifically said they shouldn't. If your control panel is a normal part of the vehicle, it will have the shader applied to it. That's almost always a good thing.
The Control Panel feature is admittedly a messy one. It's better than ever, but there's a lot of room for improvement!