public void ManipulateViaHex2RGB() { string hex = hexInput.text; Vector3 rgb = Hex2RGB(hex); Color color = NormalizeVector4(rgb, 255f, 1f); print(rgb); hsvpicker.AssignColor(color); }
static public int AssignColor(IntPtr l) { try { UnityEngine.UI.Extensions.HSVPicker self = (UnityEngine.UI.Extensions.HSVPicker)checkSelf(l); UnityEngine.Color a1; checkType(l, 2, out a1); self.AssignColor(a1); return(0); } catch (Exception e) { return(error(l, e)); } }