Пример #1
0
        public StandaloneMarkingPoint(GameObject point, GameShape.Players owner, LineRenderer lr)
        {
            this.point = point;
            this.owner = owner;

            if (lr != null)
            {
                this.lineRenderer            = lr;
                this.lineRenderer.startWidth = GameController.Instance.linesWidth;
                this.lineRenderer.endWidth   = GameController.Instance.linesWidth;
            }
        }
Пример #2
0
 public StandaloneMarkingPoint(GameObject point, GameShape.Players owner) : this(point, owner, point.GetComponent <LineRenderer>())
 {
 }