Example #1
0
        void LoadScene()
        {
            switch (feedback)
            {
            case Feedback.NotificationSuccess:
                TapticManager.Notification(NotificationFeedback.Success);
                break;

            case Feedback.NotificationWarning:
                TapticManager.Notification(NotificationFeedback.Warning);
                break;

            case Feedback.NorificationError:
                TapticManager.Notification(NotificationFeedback.Error);
                break;

            case Feedback.ImpactLight:
                TapticManager.Impact(ImpactFeedback.Light);
                break;

            case Feedback.ImpactMidium:
                TapticManager.Impact(ImpactFeedback.Midium);
                break;

            case Feedback.ImpactHeavy:
                TapticManager.Impact(ImpactFeedback.Heavy);
                break;

            case Feedback.Selection:
                TapticManager.Selection();
                break;
            }
        }
Example #2
0
 public void OnSelectionUpdate()
 {
     TapticManager.Selection();
     Debug.Log("selection");
 }