WWW database callback

Hi there,

I want to create a script that connects my android game to a database to store and get values.
How can I make a working callback to avoid pausing the game during connection?

I am using C#

Example:
the function getNewHighscore() connects to the database and try to get the value. When the answer arrived I want to update my variable… how can i make that?

thanks!

1 Answer

1