/// <summary>
/// <para>Disconnects an input from a Playable.</para>
/// </summary>
/// <param name="right">Playable from which the input will be disconnected.</param>
/// <param name="inputPort">Index of the input to disconnect.</param>
/// <param name="target"></param>
public static void Disconnect(Playable target, int inputPort)
{
if (!Playable.CheckPlayableValidity(target, "target") || !target.CheckInputBounds(inputPort))
{
return;
}
Playable.DisconnectInternal(target, inputPort);
}