using System.Collections; using System.Collections.Generic; using UnityEngine; namespace MoreMountains.NiceVibrations { public static class MMNVPlatform { /// /// Returns true if the current platform is Android, false otherwise. /// public static bool Android() { #if UNITY_ANDROID && !UNITY_EDITOR return true; #else return false; #endif } /// /// Returns true if the current platform is iOS, false otherwise /// /// true, if O was ied, false otherwise. public static bool iOS() { #if UNITY_IOS && !UNITY_EDITOR return true; #else return false; #endif } } }