void Update()
    {
        if (Application.IsPlaying(gameObject) == false)
        {
            Vector3[] thisVectorPoints = new Vector3 [_transformList.Length];

            for (var t = 0; t < thisVectorPoints.Length; t++)
            {
                thisVectorPoints[t] = _transformList[t].position;
            }


            RenderLineHelper.DrawLinePoints(thisVectorPoints, 0.15f, _lineRender, true);
        }
    }
Beispiel #2
0
 private void Update()
 {
     //Debug.Log("Рисование сектора");
     RenderLineHelper.DrawSector(angle, distance / scaleRadius, 0.1f, lineCache);
     RenderLineHelper.DrawSector(angle, distance - (distance * 0.08f), 0.1f, lineCache);
 }