Summary
If the
Animancer.AnimancerState.MainObject doesn't match 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(AnimancerState state)
Remarks
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 |
|---|---|---|
| state | AnimancerState |
Return Value
| Type | Description |
|---|---|
| AnimancerState |