Method GetEmbeddedSplineDataProperty
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.
Declaration
public static SerializedProperty GetEmbeddedSplineDataProperty(SplineContainer container, int index, EmbeddedSplineDataType type, string key)
Parameters
Type | Name | Description |
---|---|---|
SplineContainer | container | The SplineContainer that contains the target Spline. |
int | index | The index of the Spline in the Splines array. |
EmbeddedSplineDataType | type | |
string | key | A string value used to identify and access a SplineData<T>. |
Returns
Type | Description |
---|---|
SerializedProperty | A SerializedProperty for the requested SplineData<T>, or null if not found. |
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.
Declaration
public static SerializedProperty GetEmbeddedSplineDataProperty(SerializedProperty splineProperty, EmbeddedSplineDataType type, string key)
Parameters
Type | Name | Description |
---|---|---|
SerializedProperty | splineProperty | The SerializedProperty for the target Spline. |
EmbeddedSplineDataType | type | |
string | key | A string value used to identify and access a SplineData<T>. |
Returns
Type | Description |
---|---|
SerializedProperty | A SerializedProperty for the requested SplineData<T>, or null if not found. |