기술 자료

Unity Engine

Unity Engine

DisconnectInput<U>(U, int)

Disconnect the input port of a Playable.
읽는 시간 1분최근 업데이트: 한 달 전

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.