Unity/Photon

01. Photon Setting

๐Ÿ”ท Photon ํŽ˜์ด์ง€ ์ ‘์†

 

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

 

๊ธ€๋กœ๋ฒŒ ํฌ๋กœ์Šค ํ”Œ๋žซํผ ์‹ค์‹œ๊ฐ„ ๊ฒŒ์ž„ ๊ฐœ๋ฐœ | Photon Engine

๋ฉ€ํ‹ฐํ”Œ๋ ˆ์ด ๊ธฐ๋Šฅ ์ถ”๊ฐ€์™€ ๊ธ€๋กœ๋ฒŒ ์ „๊ฐœ๊ฐ€ Photon Cloud๋กœ ๊ฐ„๋‹จํ•˜๊ฒŒ ์‹คํ˜„๋ฉ๋‹ˆ๋‹ค๏ผ Photon Realtime SDK๋Š” ๋ชจ๋“  Photon Cloud ์„œ๋น„์Šค์— ์—‘์„ธ์Šคํ•˜๋Š” ํšจ์œจ์ ์ด๊ณ  ์ค‘์š”ํ•œ API์ด๋ฉฐ, PUN, BOLT, QUANTUM ๋“ฑ ๋ณด๋‹ค ๋†’์€ ๋ ˆ๋ฒจ์˜

www.photonengine.com

- ํšŒ์›๊ฐ€์ž… ๋ฐ ๋กœ๊ทธ์ธ

 

 

 

๐Ÿ”ท ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ์ƒ์„ฑ

 

- ๊ด€๋ฆฌํ™”๋ฉด์œผ๋กœ ์ด๋™ > ์ƒˆ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ๋งŒ๋“ค๊ธฐ

 

 

 

- ์ข…๋ฅ˜, ์ด๋ฆ„ ๊ธฐ์ž…

 

 

 

๐Ÿ”ท ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ID

 

- ๊ด€๋ฆฌํ™”๋ฉด > ๋งŒ๋“  ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ID ํด๋ฆญ > ๋ณต์‚ฌํ•ด๋†“๊ธฐ

 

 

 

๐Ÿ”ท Unity Setting

 

- ์œ ๋‹ˆํ‹ฐ ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ

 

 

 

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

 

PUN 2 - FREE | ๋„คํŠธ์›Œํฌ | Unity Asset Store

Get the PUN 2 - FREE package from Exit Games and speed up your game development process. Find this & other ๋„คํŠธ์›Œํฌ options on the Unity Asset Store.

assetstore.unity.com

ํฌํ†ค ํŒจํ‚ค์ง€ ๋‹ค์šด ํ›„ ์ž„ํฌํŠธ

 

 

 

- ๋ณต์‚ฌํ•ด๋†“์€ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ID ์ž…๋ ฅ > Setup Project

 

 

 

- Window > Photon Unity Networking > Highlight Server Settings

- ์ธ์ŠคํŽ™ํ„ฐ ์ฐฝ์— PhotonServerSettings ์ƒ๊น€

 

 

 

- Collapse๋œ Server/Cloud Settings๋ฅผ ํŽผ์น˜๋ฉด App Id PUN์ด ๋ณด์ž„

- ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ID๊ฐ€ ์ž˜ ์ž…๋ ฅ๋๋Š”์ง€ ํ™•์ธ