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
)
Public Shared Function CreateWithParent (
parent As GameObject,
template As FastLineRenderer
) As FastLineRenderer
public:
static FastLineRenderer^ CreateWithParent(
GameObject^ parent,
FastLineRenderer^ template
)
static member CreateWithParent :
parent : GameObject *
template : FastLineRenderer -> FastLineRenderer
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:
FastLineRendererFastLineRenderer from cache or new
See Also