文档

Unity Engine

Unity Engine

PlayableAsset

A base class for assets that can be used to instantiate a Playable at runtime.
阅读时间4 分钟最后更新于 1 个月前

Definition

public abstract class PlayableAsset : ScriptableObject, IPlayableAsset

Properties

Property

Description

durationThe playback duration in seconds of the instantiated Playable.
outputsA description of the outputs of the instantiated Playable.

Methods

Method

Description

CreatePlayableImplement this method to have your asset inject playables into the given graph.

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.