public void OnPointerEnter(PointerEventData e) { if (primaryColorSelector) { ccGUI.settingPrimaryColor(); } else { ccGUI.settingSecondaryColor(); } }