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

InterfaceDrawer Class

Extends PropertyDrawer
This property drawer is the meat of the interface support implementation.
When the value of field with this attribute is modified, the new value is tested against the interface expected. If the component matches, the new value is accepted. Otherwise, the old value is maintained.

Methods

OnGUI ( position , property , label )
Signature
override void Oculus.Interaction.InterfaceSupport.InterfaceDrawer.OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
position: Rect
property: SerializedProperty
label: GUIContent
Returns
override void