Class ARPlacementInteractableEditor
Custom editor for an ARPlacementInteractable.
Inheritance
Inherited Members
Namespace: UnityEditor.XR.Interaction.Toolkit.AR
Syntax
public class ARPlacementInteractableEditor : ARBaseGestureInteractableEditor
Fields
m_FallbackLayerMask
Declaration
protected SerializedProperty m_FallbackLayerMask
Field Value
Type | Description |
---|---|
SerializedProperty |
m_ObjectPlaced
Declaration
protected SerializedProperty m_ObjectPlaced
Field Value
Type | Description |
---|---|
SerializedProperty |
m_OnObjectPlaced
Declaration
protected SerializedProperty m_OnObjectPlaced
Field Value
Type | Description |
---|---|
SerializedProperty |
m_OnObjectPlacedCalls
Declaration
protected SerializedProperty m_OnObjectPlacedCalls
Field Value
Type | Description |
---|---|
SerializedProperty |
m_PlacementPrefab
Declaration
protected SerializedProperty m_PlacementPrefab
Field Value
Type | Description |
---|---|
SerializedProperty |
Methods
DrawInteractableEventsNested()
Draw the nested contents of the Interactable Events foldout.
Declaration
protected override void DrawInteractableEventsNested()
Overrides
See Also
DrawProperties()
This method is automatically called by DrawInspector() to draw the property fields. Override this method to customize the properties shown in the Inspector. This is typically the method overridden when a derived behavior adds additional serialized properties that should be displayed in the Inspector.
Declaration
protected override void DrawProperties()
Overrides
IsDeprecatedEventsInUse()
Get whether deprecated events are in use.
Declaration
protected override bool IsDeprecatedEventsInUse()
Returns
Type | Description |
---|---|
Boolean | Returns true if deprecated events are in use. Otherwise, returns false. |
Overrides
MigrateEvents(SerializedObject)
Migrate the persistent listeners from the deprecated
Declaration
protected override void MigrateEvents(SerializedObject serializedObject)
Parameters
Type | Name | Description |
---|---|---|
SerializedObject | serializedObject | The object to upgrade. |
Overrides
Remarks
Assumes On Select Exited should be migrated to Select Exited even though it will now be invoked even when canceled. On Select Canceled is skipped since it can't be migrated.
OnEnable()
This function is called when the object becomes enabled and active.
Declaration
protected override void OnEnable()