API reference
API reference
Select your platform
No SDKs available
No versions available

OptionalAttribute Class

Used on a SerializedField surfaces the expectation that this field can remain empty.
Oculus::Interaction::OptionalAttribute extends PropertyAttribute.

Overview

Public Types

enum
Flag {
}

Properties

Public Member Functions

Details

Member Enumerations

enum Oculus::Interaction::OptionalAttribute.Flag
Enumerator
None
Presents the Optional tag and moves it into the Optional Section.
AutoGenerated
Indicates that if the reference is missing, a new object will be created and linked to it during runtime.
DontHide
Indicates that even though the reference is Optional, it is important for the component to work as expected.

Properties

Flag Oculus.Interaction.OptionalAttribute.Flags
No description available.

Member Functions

Oculus.Interaction.OptionalAttribute.OptionalAttribute ( )
No description available.
Oculus.Interaction.OptionalAttribute.OptionalAttribute
( Flag flags )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon