文档

Unity Engine

Unity Engine

SetWeight<U>(U, float)

Sets the weight of the connection from the PlayableOutput to the source playable.
阅读时间1 分钟最后更新于 1 个月前

Definition

SetWeight<T>(T, float)

public static void SetWeight<U>(this U output, float value) where U : struct, IPlayableOutput

Parameters

output

T
The PlayableOutput used by this operation.

value

The new weight.

Remarks

Implementation specific.