Class EmbeddedSplineDataFieldsAttribute
Attribute used to make an EmbeddedSplineData variable show in the Inspector with a filtered set of fields editable. Use this in situations where you want to specify EmbeddedSplineData parameters in code and not allow them to be modified in the Inspector. to a ISplineContainer.
Inherited Members
Namespace: UnityEngine.Splines
Assembly: Unity.Splines.dll
Syntax
public class EmbeddedSplineDataFieldsAttribute : PropertyAttribute
Constructors
EmbeddedSplineDataFieldsAttribute(EmbeddedSplineDataField)
Create an EmbeddedSplineDataFieldsAttribute attribute.
Declaration
public EmbeddedSplineDataFieldsAttribute(EmbeddedSplineDataField fields)
Parameters
Type | Name | Description |
---|---|---|
EmbeddedSplineDataField | fields | The fields to show in the Inspector. EmbeddedSplineDataField |
Fields
Fields
The fields to show in the Inspector.
Declaration
public readonly EmbeddedSplineDataField Fields
Field Value
Type | Description |
---|---|
EmbeddedSplineDataField |