BeardedManStudios.Network.Unity.Autostart.Start C# (CSharp) Метод

Start() публичный Метод

public Start ( ) : void
Результат void
		public void Start()
		{
			// These devices have no reason to fire off a firewall check as they are not behind a local firewall
#if !UNITY_IPHONE && !UNITY_WP_8_1 && !UNITY_ANDROID
			// Check to make sure that the user is allowing this connection through the local OS firewall
			Networking.InitializeFirewallCheck((ushort)port);
#endif

#if UNITY_EDITOR
			StartServer();
#else
			StartClient();
#endif
		}