Documentation

Unity Engine

Download Unity

Unity Engine

Create(string, Type, string, int)

Create an IntChannel 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 IntChannel Create(string path, Type type, string attributeName, int 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 int value.

Returns

Type

Description

IntChannelReturns an IntChannel.