文档

Unity Engine


User Manual

Script Reference

Unity Engine


GetPropagateSetTime<U>(U)

Returns the time propagation behavior of this Playable.
阅读时间1 分钟最后更新于 25 天前

Definition

GetPropagateSetTime<T>(T)

public static bool GetPropagateSetTime<U>(this U playable) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

Returns

Type

Description

boolTrue if time propagation is enabled.

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.