LineRenderer Constructor

Switch to Manual

Declaration

public LineRenderer();

Description

Instead of using this constructor, either use GameObject.AddComponent<LineRenderer>(), or if you have an existing LineRenderer component on a GameObject, use GameObject.GetComponent<LineRenderer>().


Did you find this page useful? Please give it a rating: