Initializes security layer.
function Start () { Network.InitializeSecurity(); Network.InitializeServer(32, 25000); }
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Start() { Network.InitializeSecurity(); Network.InitializeServer(32, 25000); } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Start() as void: Network.InitializeSecurity() Network.InitializeServer(32, 25000)