Elin Decompiled Documentation EA 23.102 Nightly
|
Public Member Functions | |
void | SelectColor (Color color) |
Events | |
Action< Color > | ColorSelected |
Private Member Functions | |
void | Awake () |
char | OnValidateInput (string text, int charIndex, char addedChar) |
void | BackupColor () |
void | OnInputValueChanged (string value) |
string | GetAlpha (string alpha) |
void | OnInputEndEdit (string value) |
Color | GetColorByHex (string hex) |
Private Attributes | |
ColorPicker | colorPicker |
UiInputField | input |
string | hexBackup |
string | currentHex |
Definition at line 8 of file HexInput.cs.
|
inlineprivate |
Definition at line 24 of file HexInput.cs.
References BackupColor(), colorPicker, input, Empyrean.ColorPicker.ColorPicker.IsAlphaBeingUsed(), OnInputEndEdit(), OnInputValueChanged(), and OnValidateInput().
|
inlineprivate |
|
inlineprivate |
Definition at line 80 of file HexInput.cs.
References colorPicker, and Empyrean.ColorPicker.ColorPicker.IsAlphaBeingUsed().
Referenced by OnInputValueChanged().
|
inlineprivate |
Definition at line 99 of file HexInput.cs.
References Empyrean.Utils.Colorist.HexToColor().
Referenced by OnInputEndEdit(), and OnInputValueChanged().
|
inlineprivate |
Definition at line 89 of file HexInput.cs.
References ColorSelected, currentHex, GetColorByHex(), and hexBackup.
Referenced by Awake().
|
inlineprivate |
Definition at line 48 of file HexInput.cs.
References ColorSelected, currentHex, GetAlpha(), GetColorByHex(), hexBackup, and input.
Referenced by Awake().
|
inlineprivate |
Definition at line 34 of file HexInput.cs.
Referenced by Awake().
|
inline |
Definition at line 104 of file HexInput.cs.
References Empyrean.Utils.Colorist.ColorToHex(), currentHex, and input.
Referenced by Empyrean.ColorPicker.ColorPicker.UpdateColorPicker().
|
private |
Definition at line 11 of file HexInput.cs.
Referenced by Awake(), and GetAlpha().
|
private |
Definition at line 18 of file HexInput.cs.
Referenced by OnInputEndEdit(), OnInputValueChanged(), and SelectColor().
|
private |
Definition at line 16 of file HexInput.cs.
Referenced by BackupColor(), OnInputEndEdit(), and OnInputValueChanged().
|
private |
Definition at line 14 of file HexInput.cs.
Referenced by Awake(), BackupColor(), OnInputValueChanged(), and SelectColor().
Action<Color> HexInput.ColorSelected |
Definition at line 20 of file HexInput.cs.
Referenced by OnInputEndEdit(), and OnInputValueChanged().