중요: UNet은 지원이 중단된 솔루션이며, 새로운 멀티플레이어 및 네트워킹 솔루션(MLAPI)이 개발 중입니다. 자세한 내용과 다음 단계는 Unity MLAPI 웹사이트에 있는 정보를 참조하십시오. |
멀티플레이어 게임을 만드는 경우 플레이어가 서로를 찾고 기존 매치에 참가하거나 새 매치를 생성할 수 있는 방법을 구현해야 합니다. 또한 게임을 호스팅하는 사람이 떠나는 경우 등을 비롯한 일반적인 네트워크 문제를 처리하는 방법도 결정해야 합니다.
이 섹션에서는 이러한 중요 게임 요소를 빌드하는 방법을 설명합니다. 다룰 내용은 다음과 같습니다.
호스트 이송 - 피어 호스트 게임을 호스팅하는 플레이어가 게임을 떠나는 경우에 사용
Network Discovery - 플레이어가 LAN에서 서로와 연결되도록 지원
멀티플레이어 로비 - 플레이어가 인터넷을 통해 매치를 생성하거나 매치에 참가하도록 지원
커스텀 네트워크 클라이언트 및 서버 코드 - Unity Network Manager를 사용하지 않고, 커스텀 요구 사항에 맞게 고유한 연결 코드를 작성하려는 경우에 사용
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.