Class SplineIndexAttribute
Attribute used to make an integer variable show in the Inspector as a popup menu with spline choices relative
to a ISpline
Inherited Members
Namespace: UnityEngine .Splines
Assembly: Unity.Splines.dll
Syntax
public class SplineIndexAttribute : PropertyAttribute
Constructors
SplineIndexAttribute(string)
Creates a new SplineIndexAttribute with the name of a variable that references an ISpline
Declaration
public SplineIndexAttribute(string splineContainerProperty)
Parameters
Type | Name | Description |
---|---|---|
string | splineContainerProperty | The name of the field that references an ISpline |
Fields
SplineContainerProperty
The name of the field that references an ISpline
Declaration
public readonly string SplineContainerProperty
Field Value
Type | Description |
---|---|
string |