Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Experimental: this API is experimental and might be changed or removed in the future.

PlayableHandle.GetObject

public T GetObject();

Returns

T The Playable represented by this handle.

Description

Returns a Playable representation of the handle.

The type cast must be or derive from Playable. The method returns null if the cast is invalid. This will allocate memory in the Mono domain.


public Experimental.Director.Playable GetObject();

Returns

Playable The Playable represented by this handle.

Description

Returns a Playable representation of the handle.

The method returns null if the PlayableHandle is invalid. This will allocate memory in the Mono domain.