Class SerializedPropertyUtility
Contains specialized utility functions for creating SerializedObject and SerializedProperty objects from SplineContainer, Spline, and SplineData<T>.
Inherited Members
Namespace: UnityEditor.Splines
Assembly: solution.dll
Syntax
public static class SerializedPropertyUtility
Methods
Name | Description |
---|---|
ClearPropertyCache() | Clear cached SerializedProperty objects. This is automatically called on every selection change. Use this function if you need to insert or remove properties that may have been cached earlier in the frame. |
GetEmbeddedSplineDataProperty(SerializedProperty, EmbeddedSplineDataType, string) | Create a SerializedProperty for a SplineData<T> value embedded in a Spline class. These are keyed collections of SplineData<T> that are managed by the Spline instance. See GetOrCreateIntData(string), GetOrCreateFloatData(string), etc. |
GetEmbeddedSplineDataProperty(SplineContainer, int, EmbeddedSplineDataType, string) | Create a SerializedProperty for a SplineData<T> value embedded in a Spline class. These are keyed collections of SplineData<T> that are managed by the Spline instance. See GetOrCreateIntData(string), GetOrCreateFloatData(string), etc. |
GetSerializedObject(SplineContainer) | Create a SerializedObject for a SplineContainer. This value is cached. |
GetSplineSerializedProperty(SerializedObject, int) | Create a SerializedProperty for a Spline at the requested index in the Splines. |