private void CheckDevice()
{
if (Application.platform == RuntimePlatform.Android)
{
//안드로이드
}
else if (Application.platform == RuntimePlatform.IPhonePlayer)
{
//아이폰
}
else if (Application.platform == RuntimePlatform.WindowsEditor)
{
//PC 디버깅
}
}
댓글 없음:
댓글 쓰기