Пример #1
0
        public static void Notification(NotificationFeedback notificationFeedback)
        {
#if UNITY_IOS
            TapticManager.Notification(notificationFeedback);
#elif UNITY_ANDROID
            AndroidHapticManager.Notification(notificationFeedback);
#endif
        }
Пример #2
0
        public static void Selection()
        {
#if UNITY_IOS
            TapticManager.Selection();
#elif UNITY_ANDROID
            AndroidHapticManager.Selection();
#endif
        }
Пример #3
0
        public static void Impact(ImpactFeedback impactFeedback)
        {
#if UNITY_IOS
            TapticManager.Impact(impactFeedback);
#elif UNITY_ANDROID
            AndroidHapticManager.Impact(impactFeedback);
#endif
        }