Versions with this page:
Versions without this page:
每当调用 Network.InitializeServer 并且完成时,对该服务器调用该函数。
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void OnServerInitialized() { Debug.Log("Server initialized and ready"); } }