文档

Unity Engine

Unity Engine

SetPropagateSetTime<U>(U, bool)

Changes the time propagation behavior of this Playable.
阅读时间1 分钟最后更新于 1 个月前

Definition

SetPropagateSetTime<T>(T, bool)

public static void SetPropagateSetTime<U>(this U playable, bool value) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

value

True to enable time propagation.

Remarks

When enabled, the playable will propagate its local time to its inputs.
When disabled, the playable will not propagate its local time to its inputs.
By default, this is disabled. It can be used to automatically synchronize the local time between an input and an output.
Use this templated extension method on any type that inherits from IPlayable.