Summary
[Assert-Conditional]
This method should be called when an animation is played.
It asserts that either no event is currently being triggered
or that the event is being triggered inside `playing`.
Otherwise, it logs
Animancer.OptionalWarning.EventPlayMismatch.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerEvent
Syntax
[System.Diagnostics.Conditional(Strings.Assertions)]
public static void AssertEventPlayMismatch(AnimancerGraph playing)
Attributes
| Type | Description |
|---|---|
| ConditionalAttribute |
Parameters
| Name | Type | Description |
|---|---|---|
| playing | AnimancerGraph |
Return Value
| Type | Description |
|---|---|
| void |