참고: UNet은 지원이 중단되었으며 향후 Unity에서 삭제될 예정입니다. 현재 새로운 시스템이 개발 중입니다. 자세한 내용과 다음 단계는 이 블로그 포스트와 FAQ를 참조하십시오. |
참고: 이 문서는 사용자가 호스트, 서버 및 클라이언트 간의 기본적인 네트워킹 개념을 이해하고 있다고 가정합니다. 네트워킹 개념에 대한 자세한 내용은 네트워크 시스템 개념에 대한 문서를 참조하십시오.
프로퍼티: | 기능: |
---|---|
Show Runtime GUI | 이 체크박스를 선택하면 런타임 시점에 Network Manager HUD GUI가 표시됩니다. 이를 통해 GUI를 표시하거나 숨기면 빠르게 디버깅할 수 있습니다. |
GUI Horizontal Offset | HUD의 수평 픽셀 오프셋을 설정하며, 화면 왼쪽 모서리에서부터 측정됩니다. |
GUI 수직 오프셋(GUI Vertical Offset) | HUD의 수직 픽셀 오프셋을 설정하며, 화면 상단 모서리에서부터 측정됩니다. |
Network Manager HUD(“heads-up display”)는 게임 플레이어들이 네트워크 게임을 호스팅하고, 기존 네트워크 게임을 찾거나 참가할 수 있도록 해주는 기본적인 기능을 제공합니다. Unity는 Network Manager HUD를 게임 뷰의 단순한 UI 버튼 모음으로 표시합니다.
Network Manager HUD는 멀티플레이어 게임을 즉시 제작하도록 도와주는 빠른 시작 도구입니다. 이 도구를 사용하면 게임 생성/연결/참가를 위한 사용자 인터페이스를 먼저 구축할 필요가 없습니다. 또한 게임플레이 프로그래밍을 즉시 시작할 수 있으므로, 고유한 컨트롤 버전은 개발 일정 후반부에 빌드할 수 있습니다.
하지만 완성된 게임에 포함할 수는 없습니다. 이 컨트롤은 빠른 개발을 돕기 위한 것이므로, 이후에 플레이어가 게임에 적합한 방식으로 게임을 찾고 참가할 수 있도록 고유한 UI를 생성해야 합니다. 예를 들어, 화면, 버튼 이용 가능 게임 리스트의 디자인을 게임의 전반적 스타일에 맞출 수 있습니다.
Network Manager HUD를 사용하려면 씬에 빈 게임 오브젝트를 생성(메뉴: GameObject > Create Empty)한 후 새 게임 오브젝트에 Network Manager HUD 컴포넌트를 추가하십시오.
Network Manager HUD용 인스펙터에 표시된 프로퍼티 설명은 Network Manager HUD 레퍼런스 페이지를 참조하십시오.
Network Manager HUD에는 LAN(Local Area Network, 로컬 영역 네트워크) 모드 및 Matchmaker 모드의 두 가지 기본 모드가 제공됩니다. 이러한 모드는 두 가지 멀티플레이어 게임 타입에 이용할 수 있습니다. LAN 모드에서는 로컬 영역 네트워크(여러 컴퓨터가 동일한 네트워크에 연결됨)에서 호스팅된 게임을 만들거나 참가할 수 있으며, Matchmaker 모드에서는 인터넷(여러 컴퓨터가 별도의 네트워크에 연결됨)을 통해 게임을 생성하고 찾고 참가할 수 있습니다.
Network Manager HUD는 LAN 모드에서 시작하며, LAN 기반 멀티플레이어 게임을 호스팅하고 참가하는 데 필요한 버튼을 표시합니다. HUD를 Matchmaker 모드로 전환하려면 Enable Match Maker (M) 버튼을 클릭하십시오.
참고: Network Manager HUD 기능은 개발을 돕기 위한 임시 도구입니다. 이를 통해 멀티플레이어 게임을 빠르게 실행할 수 있지만, 게임을 릴리스하기 전에 고유 UI 컨트롤을 제작하여 대체해야 합니다.
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.