Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DisconnectInput<U>(U, int)

Disconnect the input port of a Playable.
Read time 1 minuteLast updated 7 days ago

Definition

DisconnectInput<T>(T, int)

public static void DisconnectInput<U>(this U playable, int inputPort) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

inputPort

The input port index.

Remarks

This method is a simple helper on top of PlayableGraph.Disconnect.
Use this templated extension method on any type that inherits from IPlayable.