[Python,Django]

[Unity] 웹 연동하기

럭키🍀 2020. 8. 5. 17:50

Django 기반 서버와 Unity로 개발한 게임을 연동하고자한다.

멀티플레이어 게임은 아니고 단순 랭킹을 저장하고 보여주는 식으로 사용할 것이다.

배울 때는 WWW클래스를 사용했는데 이제즞 UnityWebRequest를 권장한다고한다.

 

참고한 문서들

https://blog.naver.com/silentjeong/221519765899

 

서버통신2 : UnityWebRequest

19.04.22​유니티 업그레이드버전부터 WWW클래스대신 UnityWebRequest 사용을 권장한다고 한다.(그것...

blog.naver.com

Ihttps://docs.unity3d.com/kr/530/Manual/UnityWebRequest.html

 

유니티 - 매뉴얼: UnityWebRequest

모바일 기기에서의 네트워킹 네트워킹 레퍼런스 UnityWebRequest The UnityWebRequest is a replacement for Unity’s original WWW object. It provides a modular system for composing HTTP requests and handling HTTP responses. The primary goal

docs.unity3d.com

https://stackoverflow.com/questions/46003824/sending-http-requests-in-c-sharp-with-unity

 

Sending http requests in C# with Unity

How can I send HTTP GET and POST requests in C# with Unity? What I want is: send json data in post request (I use Unity serializer, so no need in new one, I just want to pass string in post data ...

stackoverflow.com

github.com/eamonwoortman/django-unity3d-example/tree/app_seperation

 

eamonwoortman/django-unity3d-example

Django-unity3d-example is an example project of how to use Django as a backend(API) for a Unity3D game. - eamonwoortman/django-unity3d-example

github.com