GetInput<U>(U, int)
Returns the Playable connected at the given input port index.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
GetInput<T>(T, int)
public static Playable GetInput<U>(this U playable, int inputPort) where U : struct, IPlayable
Parameters
Returns
Type | Description |
|---|---|
| Playable | Playable connected at the index specified, or null if the index is valid but is not connected to anything. This happens if there was once a Playable connected at the index, but was disconnected via PlayableGraph.Disconnect. |
Remarks
Use this templated extension method on any type that inherits from IPlayable.