// Use this for initialization void Start() { graphics = new CanvasGraphics(); if (!createChildDrawer) { if (verticesDrawer == null) { verticesDrawer = this.gameObject.AddComponent <CanvasQuadDrawer>(); if (strokeTexture != null) { verticesDrawer.texture_ = strokeTexture; } } graphics.verticesDrawer = verticesDrawer; } pointsList = new List <List <Vector3> >(); }