세 가지 메서드로 프로젝트에서 멀티플레이어 서비스를 사용하여 작업을 시작할 수 있습니다. 메서드마다 제어 가능한 정도가 다르므로 필요에 따라 선택해야 합니다.
NetworkManagerHUD 를 사용하는 첫 번째 메서드는 가장 고급 레벨의 추상화 수준을 제공합니다. 즉, 대부분의 작업을 서비스가 자동으로 수행합니다. 따라서 이 메서드는 가장 간편하게 사용할 수 있고, 멀티플레이어 게임을 처음 만드는 경우에 가장 적합합니다. 게임(‘매치’)을 만들고, 나열, 조인, 시작하는 기본적인 멀티플레이어 작업을 수행하는 데 사용할 수 있는 간단한 그래픽 인터페이스가 제공됩니다.
NetworkServer 와 NetworkClient 를 사용하는 두 번째 메서드는 Unity의 네트워킹 고급 레벨 API를 사용하여 동일한 작업을 수행합니다. 이 메서드는 보다 유연하며, 제공된 예제를 사용하여 기본 멀티플레이어 작업을 게임의 자체 UI에 통합할 수 있습니다.
NetworkTransport 를 직접 사용하는 세 번째 메서드는 가장 많은 제어 권한을 부여하지만, 일반적으로 Unity의 네트워킹 고급 레벨 API를 사용하여 충족되지 않은 특수한 요구 사항이 있는 경우에만 필요합니다.
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.