열심히 만든 유니티 프로젝트에 Google Play Game Service를 연동시켜 봅시다!!

요즘 네트웍이 대세니까요... 없으면 살아남기 힘든거 같아요...



https://github.com/playgameservices/play-games-plugin-for-unity

위 사이트로 접속!


접속 하시고 옆에 [Clone or download]를 눌러주시고

[Download ZIP]을 눌러주시면 unity plugin을 다운받으실 수 있습니다.


다운 받은 압축 파일을 압축 해제 하시고

유니티에 임포트 해주시면 되는데요.


위처럼 [Custom Package...]를 누르셔서 압축해제 하신 파일 중에


play-games-plugin-for-unity-master\current-build\GooglePlayGamesPlugin-0.9.34.unitypackage

를 클릭 하셔서 임포트 해주시면 됩니다.


Import!!!!!!



임포트 하면 밑에처럼 GooglePlayGames, PlayServicesResolver, plugins가 추가되는 것을 보실 수 있습니다.

이제 [Window] - [Google Play Games] - [Setup] - [Android setup...]

을 선택!


Directory to save constan... 저 부분은 저장될 폴더

Constants class name 해당 내용 작성할 클래스

Resources Definition의 부분은 Google Play Games Service 에서 긁어 오면 됩니다.



리소스 받기 누르시면 위처럼 XML 코드가 나오게 되고

Resources Definition에 넣어주시면 됩니다.


그리고 Setup!!!



그럼 플러그인 설정 끝입니다.


다음엔 설정법을 공부해야 겠네요.....

'Game > Unity' 카테고리의 다른 글

[Unity] Vungle Plugin 설치  (0) 2016.06.15
[Unity] Unity Ads 연동  (0) 2016.06.14
[Unity] Google AdMob Plugin 설치하기  (0) 2016.06.09
[Unity] 유니티 성능 관련 이슈 정리  (0) 2016.05.26
[Unity] Unity3D 설치하기  (0) 2016.05.23

+ Recent posts