public void MLOnPointerDown(MLEventData eventData) { bool state = !checkmark.enabled; togglebox.color = pressColor; checkmark.enabled = state; ValueChanged.Invoke(state); }
public void MLOnPointerUp(MLEventData eventData) { togglebox.color = highlightColor; }
public void MLOnPointerExit(MLEventData eventData) { togglebox.color = idleColor; }
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; }