Exemplo n.º 1
0
 private void Awake()
 {
     Instance = this;
     TcpClientProxy.Init();
     UdpClientProxy.Init();
     actions = new List <FrameCommand>();
 }
Exemplo n.º 2
0
    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);
            }
        }
    }
Exemplo n.º 3
0
 private void Awake()
 {
     Ins = this;
     TcpClientProxy.Ins.Init();
     KcpClient.Ins.Init();
 }