Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetReferenceObject<U>(U, Object)

Sets the bound object to a new value. Used to associate an output to an object (Track asset in case of Timeline).
Read time 1 minuteLast updated 6 days ago

Definition

SetReferenceObject<T>(T, Object)

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

Parameters

output

T
The PlayableOutput used by this operation.

value

The new reference object value.