Esempio n. 1
0
        public void MLOnPointerDown(MLEventData eventData)
        {
            bool state = !checkmark.enabled;

            togglebox.color   = pressColor;
            checkmark.enabled = state;
            ValueChanged.Invoke(state);
        }
Esempio n. 2
0
 public void MLOnPointerUp(MLEventData eventData)
 {
     togglebox.color = highlightColor;
 }
Esempio n. 3
0
 public void MLOnPointerExit(MLEventData eventData)
 {
     togglebox.color = idleColor;
 }
Esempio n. 4
0
 public void MLOnPointerEnter(MLEventData eventData)
 {
     togglebox.color = highlightColor;
     MLInput.GetController(MLInput.Hand.Left).StartFeedbackPatternVibe(MLInputControllerFeedbackPatternVibe.Click, MLInputControllerFeedbackIntensity.Low);
 }
 public void MLOnPointerUp(MLEventData eventData)
 {
     buttonImage.color = highlightColor;
 }
 public void MLOnPointerDown(MLEventData eventData)
 {
     buttonImage.color = pressColor;
     PointerDown.Invoke();
 }
 public void MLOnPointerExit(MLEventData eventData)
 {
     buttonImage.color = idleColor;
 }