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