PlayableExtensions.GetInputCount

Declaration

public static int GetInputCount(U playable);

Parameters

playable The Playable used by this operation.

Returns

int The count of inputs on the Playable.

Description

Returns the number of inputs supported by the Playable.

The input count includes slots that aren't connected to anything. This is equivalent to, but much faster than calling GetInputs().Length.

Use this templated extension method on any type that inherits from IPlayable.


Did you find this page useful? Please give it a rating: