public string[] GetTracebackData()
    {
        Debug.Log(leftHand.transform.position + "    " + rightHand.transform.position);
        var tmp = manager.GetCurrentTrial();

        return(new string[] { tmp[0], tmp[1], tmp[2], tmp[3], Time.time.ToString("N3"),
                              leftHand.transform.position.x.ToString(), leftHand.transform.position.y.ToString(), leftHand.transform.position.z.ToString(),
                              rightHand.transform.position.x.ToString(), rightHand.transform.position.y.ToString(), rightHand.transform.position.z.ToString() });
    }
Пример #2
0
    public string[] GetTracebackData()
    {
        var tmp = manager.GetCurrentTrial();

        return(new string[] { tmp[0], tmp[1], tmp[2], tmp[3], Time.time.ToString("N3") });
    }