Transition<TState>.

ReconcileMainObject(AnimancerGraph) Method

Summary

If a state exists with its Animancer.AnimancerState.MainObject not matching the Animancer.Transition`1.MainObject, this method returns a new state for the correct object.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
Transition<TState>

Syntax

public AnimancerState ReconcileMainObject(AnimancerGraph animancer)

Remarks

This method only applies to the state registered with the Animancer.Transition`1.Key so if this transition is played on multiple different characters or used to create multiple states for the same character, this method must be called for each state.

Parameters

Name Type Description
animancer AnimancerGraph

Return Value

Type Description
AnimancerState