My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MattsCreations.ColorPicker Class Reference

Color picker for UI Image. More...

Inheritance diagram for MattsCreations.ColorPicker:

Public Member Functions

void OnPointerEnter (PointerEventData e)
 
void OnPointerExit (PointerEventData e)
 
void OnPointerDown (PointerEventData e)
 
void OnDrag (PointerEventData e)
 
void PUBLIC_ShowHide ()
 Show/hide color picker panel by its activation.
 
void PUBLIC_ShowHide (bool Active)
 Show/ hide color picker panel by boolean.
 
Color PUBLIC_GetColor ()
 Get picked color.
 
void PUBLIC_SetColor (Image @Image)
 Set color to UI image.
 
void PUBLIC_SetColor (Text @Text)
 Set color to UI text.
 
void PUBLIC_SetColor (MeshRenderer @MeshRenderer)
 Set color to Mesh Renderer material color.
 
void PUBLIC_SetColor (Material @Material)
 Set color to Material.
 
void PUBLIC_SetColor (TextMesh @TextMesh)
 Set color to TextMesh.
 
void PUBLIC_SetColor_FindObjectsByTag (string Tag)
 Set color to Renderer objects with typed Tag.
 
void PUBLIC_SetColor_Mono (string VariableName)
 MONOBEHAVIOUR CONNECTOR: Set Color in internal variable.
 
void PUBLIC_SetColor_Mono (MonoBehaviour @MonoBehaviour)
 MONOBEHAVIOUR CONNECTOR: Set Color in internal variable.
 
void PUBLIC_SetColor_Mono (MonoBehaviour @MonoBehaviour, string Variable)
 Set Color in internal Monobehaviour variable.
 

Public Attributes

Texture2D TextureSource
 
Image Pointer
 
Color Result
 
UnityEvent Event
 

Static Public Attributes

static GameObject lastSelectedPicker
 
static GameObject lastHoverPicker
 

Detailed Description

Color picker for UI Image.

Last Update: 5.2.2018 [d/m/y] Author: Mato Vanco Organization: Matt's Creations

Member Function Documentation

◆ PUBLIC_GetColor()

Color MattsCreations.ColorPicker.PUBLIC_GetColor ( )
inline

Get picked color.

Returns
returns final picked color

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