c# - Send results of Database Query from ASP.net MVC to Unity Game Engine -


i need able results of database queries run on webpage sql server database regarding user information sent game in unity. i'm gameplay programmer significant experience in c#, i'm @ loss trying figure out how make happen.

the bare minimum need figure out how send user/password combination web page, check database username, , store if not exist. finally, sending success or failure depending on whether user/password combination existed.

in unity have @ disposal 2 classes sending http requests.

1.) https://docs.unity3d.com/scriptreference/www.html

2.) https://docs.unity3d.com/scriptreference/wwwform.html

i have basic (very basic) understanding of how web technology works, finer details required make happen beyond current knowledge.

my website hosted on azure running asp.net mvc. @ or pointers in right direction appreciated.

i have far been able results using www, meaningless me , wouldn't know how tell if results of query working (based on responses). can of course directly check database success, need able results in unity.

my specific goal:

send 2 strings (username, password) asp.net mvc web app. have web app add 2 strings database if username not in database. finally, need able send result string (success/failure) unity somehow. part clueless on.


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -