Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetSourcePlayable

Sets which playable that computes the output.
Read time 1 minuteLast updated 12 days ago

Definition

SetSourcePlayable<T, U>(T, T)

Sets which playable that computes the output.
public static void SetSourcePlayable<U, V>(this U output, V value) where U : struct, IPlayableOutput where V : struct, IPlayable

Parameters

output

T
The PlayableOutput used by this operation.

value

T
The new source Playable.

SetSourcePlayable<T, U>(T, T, int)

Sets which playable that computes the output and which sub-tree index.
public static void SetSourcePlayable<U, V>(this U output, V value, int port) where U : struct, IPlayableOutput where V : struct, IPlayable

Parameters

output

T
The PlayableOutput used by this operation.

value

T
The new source Playable.

port

The new output port value.