public static KSP_ColorPicker CreateColorPicker(Color initialColor, string texturePath = null, bool activePingsNeeded = true, bool destroyOnClose = true) { if (colorPickerAvailable == true) { return(KSP_ColorPicker._CreateColorPicker(initialColor, false, texturePath, 0, 0, activePingsNeeded, destroyOnClose)); } return(null); }
public static KSP_ColorPicker CreateColorPicker(Color initialColor, bool useDefinedPosition = false, string texturePath = null, int pLeft = 0, int pTop = 0, bool activePingsNeeded = true, bool destroyOnClose = true) { if (colorPickerAvailable == true) { return(KSP_ColorPicker._CreateColorPicker(initialColor, useDefinedPosition, texturePath, pLeft, pTop, activePingsNeeded, destroyOnClose)); } return(null); }