This version of Unity is unsupported.

PlayableGraph.GetRootPlayableCount

public int GetRootPlayableCount();

Description

Returns the number of Playable owned by the Graph that have no connected outputs.