Documentation

Unity Engine

Download Unity

Unity Engine

Create(string, quaternion)

Create a LocalRotationChannel from a transform path.
Read time 1 minuteLast updated 4 hours ago

Definition

[ExcludeFromBurstCompatTesting("Takes managed string")]public static LocalRotationChannel Create(string path, quaternion defaultValue)

Parameters

path

The transform path to the object to animate.

defaultValue

Default rotation value.

Returns

Type

Description

LocalRotationChannelReturns a LocalRotationChannel.