Serialization.

SetGradientValue(SerializedProperty, Gradient) Method

Summary

Sets the UnityEngine.Gradient value on a UnityEditor.SerializedPropertyType.Gradient.

Syntax

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

Parameters

Name Type Description
property SerializedProperty
value Gradient

Return Value

Type Description
void