AnimancerState.

AssertOwnership(Object) Method

Summary

[Assert-Conditional] Sets the Animancer.AnimancerState.Owner and asserts that it wasn't already set to a different object.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerState

Syntax

[System.Diagnostics.Conditional(Strings.Assertions)]
public void AssertOwnership(Object owner)

Remarks

This helps detect if multiple scripts attempt to manage the same state.

Attributes

Type Description
ConditionalAttribute

Parameters

Name Type Description
owner Object

Return Value

Type Description
void