Serialization.

GetGradientValue(SerializedProperty) Method

Summary

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

Syntax

public static Gradient GetGradientValue(this SerializedProperty property)

Parameters

Name Type Description
property SerializedProperty

Return Value

Type Description
Gradient