LineRenderer()
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\>().
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Constructor
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public LineRenderer()