Beispiel #1
0
    void startConnectFun()
    {
        this.GetComponent <WriteLocation>().saveRoom();
        if (_helloRequester.Running)
        {
            _helloRequester.Stop();
        }
        _helloRequester                 = new HelloRequester();
        Status.text                     = _helloRequester.status;
        _helloRequester.serverIP        = ipInput.text;
        _helloRequester.sendFilePath    = this.GetComponent <RoomManager>().inputFilePath;
        _helloRequester.receiveFilePath = this.GetComponent <RoomManager>().outputFilePath; // change this to your directory

        _helloRequester.fileName = room;
        _helloRequester.Start();
    }
Beispiel #2
0
 private void OnDestroy()
 {
     _helloRequester.Stop();
 }
Beispiel #3
0
 public void OnDestroy()
 {
     _helloRequester.Stop();
 }