public static void DoHaptic(HapticForce type) { #if UNITY_IOS doImapctHaptic(type); #else Debug.Log("HapticFeedback is not support on this platform"); #endif }
private static extern void doImapctHaptic(HapticForce force);