본문 바로가기
카테고리 없음

유니티 C# 진동 넣기 Vibration 간단 구현 IOS

by SPNK 2023. 4. 2.
반응형
  • 안드로이드
using UnityEngine;
using System.Collections;

public class VibrationAndroid : MonoBehaviour
{
    void Start()
    {
        Handheld.Vibrate();
    }
}

 

  • 아이폰
using UnityEngine;
using System.Collections;

public class VibrationAndroid : MonoBehaviour
{
    void Start()
    {
        Handheld.Vibrate();
    }
}

 

반응형

댓글