WXMC/proj/unity/Assets/Scripts/Utils/HandheldUtils.cs

14 lines
245 B
C#
Raw Normal View History

2024-12-04 16:18:46 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class HandheldUtils
{
public static void Vibrate()
{
#if UNITY_ANDROID || UNITY_EDITOR || UNITY_IOS
Handheld.Vibrate();
#endif
}
}