DisconnectInternal() private method

private DisconnectInternal ( Playable target, int inputPort ) : void
target Playable
inputPort int
return void
Exemplo n.º 1
0
 /// <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);
 }