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; }
void Awake() { FrameSyncAgent.SetDebugger(this); _tcpTempBytes = new SWBytes(16 * 1024); }