AnimancerEvent.Sequence.

AnimancerEvent.

SetShouldNotModifyReason(string) Method

Summary

[Assert-Conditional] Sets the Animancer.AnimancerEvent.Sequence.ShouldNotModifyReason for Animancer.OptionalWarning.LockedEvents.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerEvent.Sequence

Syntax

[System.Diagnostics.Conditional(Strings.Assertions)]
public void SetShouldNotModifyReason(string reason)

Remarks

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

Type Description
void