Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

How to do a game manager?

$
0
0
Hi,

I have some logic (like a Free For All game mode) that needs to be run only on Server, like counting how many kills have been happened, etc. .

My understanding is to check for "isServer" in it's Start() code and add "ServerCallback" over the Update() call. But these do not suffice for my needs as later I'll need more advanced logic. For example how to do Server initialization? I can think of 3 ways but don't know their difference:

1- Add a OnStartServer
2- Add [ServerCallback] on it's...

How to do a game manager?

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>