Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
ColorPresets Class Reference
Inheritance diagram for ColorPresets:

Public Member Functions

void CreatePresetButton ()
 
void OnPresetSelected (Image image)
 Call this from a Button, and send an image reference in order to fetch the image.color. This will update the ColorPicker color by calling ColorPicker.SetColor method. More...
 

Public Attributes

Image createPresetImage
 
ColorPicker picker
 
GameObject[] presets
 

Member Function Documentation

void ColorPresets.CreatePresetButton ( )
inline
void ColorPresets.OnPresetSelected ( Image  image)
inline

Call this from a Button, and send an image reference in order to fetch the image.color. This will update the ColorPicker color by calling ColorPicker.SetColor method.

Parameters
image

Member Data Documentation

Image ColorPresets.createPresetImage
ColorPicker ColorPresets.picker
GameObject [] ColorPresets.presets

The documentation for this class was generated from the following file: