Summary
[Assert-Conditional]
Sets the Animancer.AnimancerEvent.Sequence.ShouldNotModifyReason
for Animancer.OptionalWarning.LockedEvents
.
Syntax
[System.Diagnostics.Conditional(Strings.Assertions)]
public void SetShouldNotModifyReason(string reason)
If the warning is triggered, the message is formatted as:
"The Animancer.AnimancerEvent.Sequence
being modified should not be modified because " +
Animancer.AnimancerEvent.Sequence.ShouldNotModifyReason
.
Attributes
Type |
Description |
ConditionalAttribute |
|
Parameters
Name |
Type |
Description |
reason |
string |
|
Return Value