Windows Device Portal을 사용하면 Unity 에디터에서 직접 Windows 10 이상의 원격 기기에 Windows 또는 UWP(유니버설 Windows 플랫폼) 애플리케이션을 빌드하고 실행할 수 있으므로 Visual Studio 프로젝트를 생성할 필요성이 줄어듭니다. 원격 Windows 기기에 원격으로 연결하면 Unity 프로젝트 테스트를 위한 반복 작업을 더 빠르게 수행할 수 있습니다.
Unity에서 기기 포털을 설정하기 전에 설정의 For Developer 섹션(Settings > Privacy & security > For developers)을 사용하여 Windows 기기의 개발자 모드와 기기 포털을 활성화해야 합니다.
Unity 프로젝트의 기기 포털 설정에 액세스하려면 다음 단계를 따르십시오.
설정 | 설명 |
---|---|
Device Portal Address | 기기 포털의 IP 주소와 포트 번호를 입력합니다.Windows에서는 주소를 Privacy & security > For Developers > Device Portal > Connect using에서 찾습니다. |
Device Portal Username | 기기 포털의 사용자 이름을 입력합니다.WDP 인증을 활성화한 경우 이 설정은 선택 사항입니다. |
Device Portal Password | 기기 포털의 비밀번호를 입력합니다.WDP 인증을 활성화한 경우 이 설정은 선택 사항입니다. |
Unity는 Device Portal Address 및 Device Portal Username 필드를 Project settings에 저장합니다.보안을 위해 Unity는 기기 포털 비밀번호를 저장하지 않으므로 에디터를 다시 시작하거나 새 프로젝트를 로드할 때 비밀번호를 다시 입력해야 할 수 있습니다.
팁: 또한 UWP용 기기 포털 배포와 함께 실행 파일 전용 빌드 타입을 사용할 수도 있습니다. 이렇게 하면 HoloLens와 같은 기기에서 반복 시간을 단축할 수 있습니다.
기기 포털 설정을 완료했으면 Build and Run을 선택합니다. 그러면 UWP/Windows 앱이 빌드되고 원격 기기에 배포된 다음 실행됩니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.