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; } }
public StandaloneMarkingPoint(GameObject point, GameShape.Players owner) : this(point, owner, point.GetComponent <LineRenderer>()) { }