Validate.

AssertCanRemoveChild(AnimancerState, IList<AnimancerState>, int) Method

Summary

[Assert-Conditional] Throws if the `state` was not actually assigned to its specified Animancer.AnimancerNode.Index in the `states`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
Validate

Syntax

[System.Diagnostics.Conditional(Strings.Assertions)]
public static void AssertCanRemoveChild(AnimancerState state, IList<AnimancerState> childStates, int childCount)

Attributes

Type Description
ConditionalAttribute

Parameters

Name Type Description
state AnimancerState
childStates IList<AnimancerState>
childCount int

Return Value

Type Description
void