thesteelydane
Bunker Samples
Hello KSP wizards....still a newbie scripted, but getting better every day. I'm at the beginning of a new project that requires user selectable FX - which is easy enough to do with a menu. What I'm wondering is best practice for the controls for said FX.
A: Is it better to declare a ui control for each parameter pr FX, and then only show the ones being used. You could quickly end up with hundreds of hidden buttons and sliders, but the coding would be quite straight forward.
or.....
B: Is it better to have just a few ui controls and change their assignment depending on what FX the user selects? Seems more efficient, but the coding more complex.
How is this usually accomplished?
A: Is it better to declare a ui control for each parameter pr FX, and then only show the ones being used. You could quickly end up with hundreds of hidden buttons and sliders, but the coding would be quite straight forward.
or.....
B: Is it better to have just a few ui controls and change their assignment depending on what FX the user selects? Seems more efficient, but the coding more complex.
How is this usually accomplished?