BeardedManStudios.Forge.Examples.StartGame.Start C# (CSharp) Méthode

Start() public méthode

public Start ( ) : void
Résultat void
		public void Start()
		{
			// Assign the text for the input to be whatever is set by default
			ipAddressInput.text = host;

			// 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_STANDALONE_LINUX
			if (autoStartServer)
				StartServer();
#endif
		}