Method Create
Create(PlayableGraph, double, DirectorWrapMode)
Creates and initializes a ScriptPlayable with a TimeNotificationBehaviour.
Declaration
public static ScriptPlayable<TimeNotificationBehaviour> Create(PlayableGraph graph, double duration, DirectorWrapMode loopMode)
Parameters
Type | Name | Description |
---|---|---|
PlayableGraph | graph | The playable graph. |
double | duration | The duration of the playable. |
DirectorWrapMode | loopMode | The loop mode of the playable. |
Returns
Type | Description |
---|---|
ScriptPlayable<TimeNotificationBehaviour> | A new TimeNotificationBehaviour linked to the PlayableGraph. |