Table of Contents

Class TrailRendererExtensions

public static class TrailRendererExtensions
Inheritance
TrailRendererExtensions
Inherited Members

Methods

ColorLinear(TweenMotionProxy<TrailRenderer>, Color, Color)

Applies a ColorLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> ColorLinear(this TweenMotionProxy<TrailRenderer> proxy, Color valueStart, Color valueEnd)

Parameters

proxy TweenMotionProxy<TrailRenderer>
valueStart Color
valueEnd Color

Returns

TweenMotionProxy<TrailRenderer>

ColorLinear(TweenMotionProxy<TrailRenderer>, LinearColor)

Applies a ColorLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> ColorLinear(this TweenMotionProxy<TrailRenderer> proxy, LinearColor value)

Parameters

proxy TweenMotionProxy<TrailRenderer>
value LinearColor

Returns

TweenMotionProxy<TrailRenderer>

ColorLinearTo(TweenMotionProxy<TrailRenderer>, Color, Color)

Applies a ColorLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> ColorLinearTo(this TweenMotionProxy<TrailRenderer> proxy, Color toStart, Color toEnd)

Parameters

proxy TweenMotionProxy<TrailRenderer>
toStart Color
toEnd Color

Returns

TweenMotionProxy<TrailRenderer>

ColorLinearTo(TweenMotionProxy<TrailRenderer>, Color, Color, Color, Color)

Applies a ColorLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> ColorLinearTo(this TweenMotionProxy<TrailRenderer> proxy, Color fromStart, Color fromEnd, Color toStart, Color toEnd)

Parameters

proxy TweenMotionProxy<TrailRenderer>
fromStart Color
fromEnd Color
toStart Color
toEnd Color

Returns

TweenMotionProxy<TrailRenderer>

ColorLinearTo(TweenMotionProxy<TrailRenderer>, LinearColor)

Applies a ColorLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> ColorLinearTo(this TweenMotionProxy<TrailRenderer> proxy, LinearColor to)

Parameters

proxy TweenMotionProxy<TrailRenderer>
to LinearColor

Returns

TweenMotionProxy<TrailRenderer>

ColorLinearTo(TweenMotionProxy<TrailRenderer>, LinearColor, LinearColor)

Applies a ColorLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> ColorLinearTo(this TweenMotionProxy<TrailRenderer> proxy, LinearColor from, LinearColor to)

Parameters

proxy TweenMotionProxy<TrailRenderer>
from LinearColor
to LinearColor

Returns

TweenMotionProxy<TrailRenderer>

Gradient(TweenMotionProxy<TrailRenderer>, Gradient)

Applies a GradientMotion to the tween.

public static TweenMotionProxy<TrailRenderer> Gradient(this TweenMotionProxy<TrailRenderer> proxy, Gradient value)

Parameters

proxy TweenMotionProxy<TrailRenderer>
value Gradient

Returns

TweenMotionProxy<TrailRenderer>

GradientTo(TweenMotionProxy<TrailRenderer>, Gradient)

Applies a GradientMotion to the tween.

public static TweenMotionProxy<TrailRenderer> GradientTo(this TweenMotionProxy<TrailRenderer> proxy, Gradient to)

Parameters

proxy TweenMotionProxy<TrailRenderer>
to Gradient

Returns

TweenMotionProxy<TrailRenderer>

GradientTo(TweenMotionProxy<TrailRenderer>, Gradient, Gradient)

Applies a GradientMotion to the tween.

public static TweenMotionProxy<TrailRenderer> GradientTo(this TweenMotionProxy<TrailRenderer> proxy, Gradient from, Gradient to)

Parameters

proxy TweenMotionProxy<TrailRenderer>
from Gradient
to Gradient

Returns

TweenMotionProxy<TrailRenderer>

MoveVertex(TweenMotionProxy<TrailRenderer>, int, Vector3)

Applies a MoveVertexVectorMotion to the tween.

public static TweenMotionProxy<TrailRenderer> MoveVertex(this TweenMotionProxy<TrailRenderer> proxy, int index, Vector3 value)

Parameters

proxy TweenMotionProxy<TrailRenderer>
index int
value Vector3

Returns

TweenMotionProxy<TrailRenderer>

MoveVertexTo(TweenMotionProxy<TrailRenderer>, int, Vector3)

Applies a MoveVertexVectorMotion to the tween.

public static TweenMotionProxy<TrailRenderer> MoveVertexTo(this TweenMotionProxy<TrailRenderer> proxy, int index, Vector3 to)

Parameters

proxy TweenMotionProxy<TrailRenderer>
index int
to Vector3

Returns

TweenMotionProxy<TrailRenderer>

MoveVertexTo(TweenMotionProxy<TrailRenderer>, int, Vector3, Vector3)

Applies a MoveVertexVectorMotion to the tween.

public static TweenMotionProxy<TrailRenderer> MoveVertexTo(this TweenMotionProxy<TrailRenderer> proxy, int index, Vector3 from, Vector3 to)

Parameters

proxy TweenMotionProxy<TrailRenderer>
index int
from Vector3
to Vector3

Returns

TweenMotionProxy<TrailRenderer>

WidthLinear(TweenMotionProxy<TrailRenderer>, LinearFloat)

Applies a WidthLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> WidthLinear(this TweenMotionProxy<TrailRenderer> proxy, LinearFloat value)

Parameters

proxy TweenMotionProxy<TrailRenderer>
value LinearFloat

Returns

TweenMotionProxy<TrailRenderer>

WidthLinear(TweenMotionProxy<TrailRenderer>, float, float)

Applies a WidthLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> WidthLinear(this TweenMotionProxy<TrailRenderer> proxy, float valueStart, float valueEnd)

Parameters

proxy TweenMotionProxy<TrailRenderer>
valueStart float
valueEnd float

Returns

TweenMotionProxy<TrailRenderer>

WidthLinearTo(TweenMotionProxy<TrailRenderer>, LinearFloat)

Applies a WidthLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> WidthLinearTo(this TweenMotionProxy<TrailRenderer> proxy, LinearFloat to)

Parameters

proxy TweenMotionProxy<TrailRenderer>
to LinearFloat

Returns

TweenMotionProxy<TrailRenderer>

WidthLinearTo(TweenMotionProxy<TrailRenderer>, LinearFloat, LinearFloat)

Applies a WidthLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> WidthLinearTo(this TweenMotionProxy<TrailRenderer> proxy, LinearFloat from, LinearFloat to)

Parameters

proxy TweenMotionProxy<TrailRenderer>
from LinearFloat
to LinearFloat

Returns

TweenMotionProxy<TrailRenderer>

WidthLinearTo(TweenMotionProxy<TrailRenderer>, float, float)

Applies a WidthLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> WidthLinearTo(this TweenMotionProxy<TrailRenderer> proxy, float toStart, float toEnd)

Parameters

proxy TweenMotionProxy<TrailRenderer>
toStart float
toEnd float

Returns

TweenMotionProxy<TrailRenderer>

WidthLinearTo(TweenMotionProxy<TrailRenderer>, float, float, float, float)

Applies a WidthLinearMotion to the tween.

public static TweenMotionProxy<TrailRenderer> WidthLinearTo(this TweenMotionProxy<TrailRenderer> proxy, float fromStart, float fromEnd, float toStart, float toEnd)

Parameters

proxy TweenMotionProxy<TrailRenderer>
fromStart float
fromEnd float
toStart float
toEnd float

Returns

TweenMotionProxy<TrailRenderer>