본문 바로가기
Unity/네트워크

유니티와 Phton Pun 네트워크 연동- Part1 (세팅)

by mynote6590 2025. 3. 13.

1`1`포톤 네트워크 생성하기

 위 사이트에 접속후 로그인 => 관리 화면으로 이동 => 새 어플리케이션 만들기

https://www.photonengine.com/ko-kr

 

글로벌 크로스 플랫폼 실시간 게임 개발 | Photon Engine

EssentialPhoton Details Discover a summary of our product range, notable features, the power of the Photon Cloud, and our cost-effective pricing plans. HAVE A LOOK

www.photonengine.com

\kujyhgytgr4e3w2qA

 

 

포톤의 종류를 Pun으로 변경 => 애플리케이션 이름 작성 => 어플리케이션 생성 후 App ID 기억하기 

 

 

유니티와 포톤 네트워크 연결

 

유니티 애셋 스토어에서 pun2 받은 후 유니티에서 import하기

https://assetstore.unity.com/packages/tools/network/pun-2-free-119922

 

PUN 2 - FREE | 네트워크 | Unity Asset Store

Get the PUN 2 - FREE package from Photon Engine and speed up your game development process. Find this & other 네트워크 options on the Unity Asset Store.

assetstore.unity.com

 

유니티에서 Pun을 import 완료하면 아래의 화면이 뜨게 되는데 AppId or Email에 위에서 발급받은 AppId를 기입하기

아래의 화면을 따라 누르면 팝업창이 뜸 그 팝업창에서 Locate PhotonServerSetting을 누르면 Photon Server Setting을 확인이 가능하다.

 

빨간 네모에 아까 입력한 AppId가 작성 되어있으면 완료