Validate.

AssertRoot(AnimancerNode, AnimancerPlayable) Method

Summary

[Assert-Conditional] Throws if the Animancer.AnimancerNode.Root is not the `root`.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
Validate

Syntax

[System.Diagnostics.Conditional(Strings.Assertions)]
public static void AssertRoot(AnimancerNode node, AnimancerPlayable root)

Attributes

Type Description
ConditionalAttribute

Parameters

Name Type Description
node AnimancerNode
root AnimancerPlayable

Return Value

Type Description
void