private void Awake() { Instance = this; TcpClientProxy.Init(); UdpClientProxy.Init(); actions = new List <FrameCommand>(); }
public override void OnInspectorGUI() { base.OnInspectorGUI(); FrameReplay frameReplay = (FrameReplay)target; trackerid = GUILayout.TextField(trackerid); if (GUILayout.Button("SetTrackerId")) { int track = 0; if (int.TryParse(trackerid, out track)) { FrameSnapShot.Ins.NewTracker(track); } } }
private void Awake() { Ins = this; TcpClientProxy.Ins.Init(); KcpClient.Ins.Init(); }