PluginImport.OpenPortInternal C# (CSharp) Méthode

OpenPortInternal() public méthode

public OpenPortInternal ( string port ) : void
port string
Résultat void
    public void OpenPortInternal(string port)
    {
        if (port != "") {
            if (OpenPort (port)) {
                Debug.Log ("Listening on port " + port);
                SelfHandshakeInternal (port);
            }
            else {
                Debug.Log ("Failed to open port " + port);
            }
        }
        else {
            Debug.Log ("No listener port specified.  Skipping interface startup.");
        }
    }