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

InterfaceAttribute Class

When this attribute is attached to a MonoBehaviour field within a Unity Object, this allows an interface to be specified in to to entire only a specific type of MonoBehaviour can be attached.
Oculus::Interaction::InterfaceAttribute extends PropertyAttribute.

Overview

Data Fields

Type[]
Types[Get]
string

Public Member Functions

InterfaceAttribute
( Type type,
params Type[] types )
Creates a new Interface attribute.
InterfaceAttribute
( string typeFromFieldName )

Details

Fields

Type [] Oculus.Interaction.InterfaceAttribute.Types
No description available.
string Oculus.Interaction.InterfaceAttribute.TypeFromFieldName
No description available.

Member Functions

Oculus.Interaction.InterfaceAttribute.InterfaceAttribute
( Type type,
params Type[] types )
Creates a new Interface attribute.
Parameters
type
The type of interface which is allowed.
types
Extra types of interface which is allowed.
Oculus.Interaction.InterfaceAttribute.InterfaceAttribute
( string typeFromFieldName )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon