Jump to content
  • Advertisement
Ryan Hopkins

Unity How To Approach all this?

Recommended Posts

34 minutes ago, Ryan Hopkins said:

well not real time but like how u say have it like dump it?

like mainly how do i get my unity game talking to a dedicated server? which is running what ever it needs to run (please explain) and also the db "mysql" preferably? i know i probs sound stupuid here but yea! im clueless! and everyone has to ask these questions at somepoint?

I don't work with Unity unfortunately, but I would suggest starting here: 

https://docs.unity3d.com/Manual/UNet.html

https://docs.unity3d.com/Manual/UNetClientServer.html

You'll want to be very familiar with how networking is handled using your engine. After you're able to establish a client server connect, then the final step is having your server access your database to read and write. :) You can look into:

https://docs.unity3d.com/ScriptReference/WWW.html

https://docs.unity3d.com/Manual/UnityWebRequest.html 

to work with a script that directly connects to your database. Otherwise you'll want to look into script calling using C# directly. I rarely use C# and cannot offer much assistance regarding the steps. Possibly this video might help? 

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!