Version: 2017.2
public static int GetInputCount (U playable);

Parámetros

playable The Playable used by this operation.

Valor de retorno

int The count of inputs on the Playable.

Descripción

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.

NOTE: This is a templated extension method that can be used on any type that inherits from IPlayable