Documentation

Unity Engine

Download Unity

Unity Engine

Create(string, Type, string, EntityId)

Creates an EntityIdChannel 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 EntityIdChannel Create(string path, Type type, string attributeName, EntityId 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

The
EntityId
that the channel holds when no clip animates it.

Returns

Type

Description

EntityIdChannelThe new channel, with an identifier computed from
path
,
type
, and
attributeName
.