Serialization.

SetGradientValue(SerializedProperty, Gradient) Method

Summary

Sets the UnityEngine.Gradient value on a UnityEditor.SerializedPropertyType.Gradient.
Assembly
Animancer.dll
Namespace
Animancer.Editor
Containing Type
Serialization

Syntax

public static void SetGradientValue(this SerializedProperty property, Gradient value)

Parameters

Name Type Description
property SerializedProperty
value Gradient

Return Value

Type Description
void