Summary
Calls UnityEngine.Playables.PlayableGraph.Connect``2(``0,System.Int32,``1,System.Int32) using output 0 from the `child` and
UnityEngine.Playables.PlayableExtensions.SetInputWeight``1(``0,System.Int32,System.Single).
Syntax
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void Connect<TParent, TChild>(this PlayableGraph graph, TParent parent, TChild child, int parentInputIndex, float weight)
where TParent : struct, IPlayable where TChild : struct, IPlayable
Attributes
| Type |
Description |
| MethodImplAttribute |
|
Type Parameters
| Name |
Description |
| TParent |
|
| TChild |
|
Parameters
| Name |
Type |
Description |
| graph |
PlayableGraph |
|
| parent |
TParent |
|
| child |
TChild |
|
| parentInputIndex |
int |
|
| weight |
float |
|
Return Value