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?
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?