DefaultValues.

SetToDefault<T>(DefaultValueAttribute, 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.Editor
Containing Type
DefaultValues

Syntax

public static void SetToDefault<T>(this DefaultValueAttribute attribute, ref T value)

Type Parameters

Name Description
T

Parameters

Name Type Description
attribute DefaultValueAttribute
value T

Return Value

Type Description
void