Esempio n. 1
0
    void RefreshLinePoints()
    {
        CachedLineRenderer.SetVertexCount(linePoints.Count);

        for (int i = 0; i < linePoints.Count; i++)
        {
            CachedLineRenderer.SetPosition(i, linePoints [i]);
        }
    }
Esempio n. 2
0
 void RemoveAllPoints()
 {
     CachedLineRenderer.SetVertexCount(0);
 }