Called on the server whenever a Network.InitializeServer was invoked and has completed.
function OnServerInitialized() { Debug.Log("Server initialized and ready"); }
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void OnServerInitialized() { Debug.Log("Server initialized and ready"); } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def OnServerInitialized() as void: Debug.Log('Server initialized and ready')