AnimancerUtilities.

Connect<TParent, TChild>(PlayableGraph, TParent, TChild, int, float) Method

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).
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerUtilities

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

Type Description
void