// Start is called before the first frame update void Start() { graphics = new CanvasGraphics(); graphics.verticesDrawer = drawer; graphics.curveSmoothing = true; graphics.smoothDotLimit = -1f; }
// Use this for initialization void Start() { graphics = new CanvasGraphics(); graphics.verticesDrawer = drawer; Draw(); }
// 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> >(); }
// Use this for initialization void Awake() { graphics = new CanvasGraphics(); graphics.verticesDrawer = drawer; }