Documentation

Unity Engine

Download Unity

Unity Engine

Create(string, Type, string, float)

Create a FloatChannel from a transform path, a component type and an attribute name.
Read time 1 minuteLast updated 4 hours ago

Definition

[ExcludeFromBurstCompatTesting("Takes managed string")]public static FloatChannel Create(string path, Type type, string attributeName, float defaultValue)

Parameters

path

The transform path to the object to animate.

type

The type of the object to animate.

attributeName

The name of the property to animate on the object.

defaultValue

Default float value.

Returns

Type

Description

FloatChannelReturns a FloatChannel.