Example #1
0
        // Utils

        private static IEnumerator ShutdownAndStartServer(int timeout = 10)
        {
            yield return(new WaitForSeconds(timeout));

            BoltLog.Warn("No server found, restarting");
            BoltNetwork.ShutdownImmediate();
        }