Skip to content

Api > PlayableDirector > ClearGenericBinding()


PlayableDirector.ClearGenericBinding(Object key)⚓︎

Clears the binding of a reference object. Use this method to clear the binding and remove the dependency to the source object. For example, use this method to clear the binding for a Timeline track that is no longer used.

Parameters:⚓︎

Name Type Description
key Object The source object in the PlayableBinding.

Usage⚓︎

---@type PlayableDirector
local playabledirector;

---@type Object
local key;


playabledirector.ClearGenericBinding(key)