Click or drag to resize

FastLineRendererCreateWithParent Method

Create a new FastLineRenderer or retrieve from cache if available

Namespace:  DigitalRuby.FastLineRenderer
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static FastLineRenderer CreateWithParent(
	GameObject parent,
	FastLineRenderer template
)

Parameters

parent
Type: GameObject
Parent
template
Type: DigitalRuby.FastLineRendererFastLineRenderer
Template fast line renderer to use for properties of the new or cached fast line renderer object. Must not be null. You probably want to create a fast line renderer in you scene view, get it looking how you want, disable it, and then pass that as the template.

Return Value

Type: FastLineRenderer
FastLineRenderer from cache or new
See Also