Step() 공개 메소드

public Step ( ) : void
리턴 void
    // Update is called once per frame
    void Update()
    {
        w.Step();

        //add current Walker xy position to our list
        pos.Add(new Vector2(w.x, w.y));

        lineRenderer.SetVertexCount(pos.Count);
        for (int i = 0; i < pos.Count; i++)
        {
            lineRenderer.SetPosition(i, new Vector3(pos[i].x, pos[i].y, 0));
        }
    }