Table of Contents

Class PitchMotion

Lerps the AudioSource.pitch value.

public class PitchMotion : AbstractFloatMotion<AudioSource>, ITweenMotion, IMotion
Inheritance
AbstractTweenMotion<AudioSource>
AbstractFloatMotion<AudioSource>
PitchMotion
Implements
Inherited Members
Extension Methods

Constructors

PitchMotion(AudioSource, float?, float)

public PitchMotion(AudioSource item, float? from, float to)

Parameters

item AudioSource
from float?
to float

PitchMotion(AudioSource, float)

public PitchMotion(AudioSource item, float value)

Parameters

item AudioSource
value float

Methods

GetFrom()

protected override float GetFrom()

Returns

float

SetValue(float)

protected override void SetValue(float value)

Parameters

value float