Esempio n. 1
0
 public void Initialize(FrameSyncAgent agent)
 {
     _tcpConnection = new SWTCPConnection();
     _tcpConnection.OnConnectionEstablished += _tcpConnection_OnConnectionEstablished;
     _tcpConnection.OnConnectionNewPacket   += _tcpConnection_OnConnectionNewPacket;
     SWConsole.Verbose("FrameSyncDebugger Initialized");
     _agent = agent;
     _tcpConnection.Connect(_host, _port);
     _initialzied = true;
 }
Esempio n. 2
0
 void Awake()
 {
     FrameSyncAgent.SetDebugger(this);
     _tcpTempBytes = new SWBytes(16 * 1024);
 }