Ejemplo n.º 1
0
    public List <Vector3> GetPositions()
    {
        var list = line.GetLocalPositions();

        for (int i = 0; i < list.Count; i++)
        {
            list[i] = gameObject.transform.TransformPoint(list[i]);
        }
        return(list);
    }