프로그래밍/ㄴ이슈
[Unity] 현재 실행중인 플랫폼 알아오기 Get the currently running platform
최갓
2020. 9. 1. 11:09
반응형
Unity에서 현재 실쟁중인 플랫폼은 다음과 같이 가져와서 식별해낼 수 있다
Application.platform == RuntimePlatform.IPhonePlayer || Application.platform == RuntimePlatform.Android
RuntimePlatform에 다양한 플랫폼이 있으니 참고
반응형