DefaultValueAttribute.

SetToDefault<T>(T) Method

Summary

[Editor-Only] Sets the `value` equal to the Animancer.DefaultValueAttribute.Primary value. If it was already at the value, it sets it equal to the Animancer.DefaultValueAttribute.Secondary value instead.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
DefaultValueAttribute

Syntax

public void SetToDefault<T>(ref T value)

Type Parameters

Name Description
T

Parameters

Name Type Description
value T

Return Value

Type Description
void