SetGuid() public method

public SetGuid ( string guid ) : void
guid string
return void
 void OnEnable() {
     _gameController = GetComponent<GameController>();
     SessionData session = GameObject.Find("Lobby Settings").GetComponent<SessionData>();
     ServerComs = session.ServerCom;
     Guid = session.Guid;
     CornerId = session.OwnId;
     ServerComs.SetGuid(Guid);
     ServerComs.SetErrorHandler(this);
     ServerComs.SetProcessor(new DataProcessor(this, this, null));
 }
    void Start() {
        GameObject go = GameObject.Find("Lobby Settings");
        SessionData session = go.GetComponent<SessionData>();
        LobbyId.text = session.LobbyId;
        SetPlayers(session.Players);

        ComHandler = new CommunicationHandler(session.LobbyConnection, this, null, null, this);
        ComHandler.SetGuid(session.Guid);
        ComHandler.SendTcp("[Request:PlayerList]");
    }