Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int setHostCount = 5; //will call SetHostInfo 5 times, once every 5 seconds
- public void SetServerHostInfo() {
- BoltNetwork.SetHostInfo(/*stuff*/);
- SetHostCount--;
- if(setHostCount > 0) Invoke("SetServerHostInfo", 5f);
- }
Advertisement
Add Comment
Please, Sign In to add comment