Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 4 days ago

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.