Summary
[Assert-Only]
Logs an error if the `callback` doesn't contain a
Animancer.AnimancerEvent.Parameter`1.Invoke
so that adding to it with Animancer.AnimancerEvent.Parametize``1(System.Action{``0})
can use that parameter.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerEvent
Syntax
[System.Diagnostics.Conditional(Strings.Assertions)]
public static void AssertContainsParameter<T>(Action callback)
Attributes
Type | Description |
---|---|
ConditionalAttribute |
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
callback | Action |
Return Value
Type | Description |
---|---|
void |