文档

Unity Engine

Unity Engine

ScriptPlayable<T>

A IPlayable implementation that contains a PlayableBehaviour for the PlayableGraph. PlayableBehaviour can be used to write custom Playable that implement their own PrepareFrame callback.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct ScriptPlayable<T> : IPlayable, IEquatable<ScriptPlayable<T>> where T : class, IPlayableBehaviour, new()

Remarks

A branch of a PlayableGraph must be connected to an output to be evaluated.
NOTE: You can use PlayableExtensions methods with ScriptPlayable objects.