Table of Contents

Class OrientToPathMotion

Orients the object to the path its taken using the Quaternion.LookRotation(Vector3) method.

public class OrientToPathMotion : AbstractTweenMotion<Transform>, ITweenMotion, IMotion
Inheritance
OrientToPathMotion
Implements
Inherited Members
Extension Methods

Constructors

OrientToPathMotion(Transform)

public OrientToPathMotion(Transform item)

Parameters

item Transform

Methods

OnStart()

public override void OnStart()

OnUpdate(float)

public override void OnUpdate(float t)

Parameters

t float