Tanoda
IgnoreColliderForInteractionEditor.cs
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) Ultraleap, Inc. 2011-2020. *
3
* *
4
* Use subject to the terms of the Apache License 2.0 available at *
5
* http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6
* between Ultraleap and you, your company or other organization. *
7
******************************************************************************/
8
9
using
UnityEditor
;
10
using
UnityEngine
;
11
12
namespace
Leap.Unity.Interaction
{
13
14
[CustomEditor(typeof(
IgnoreColliderForInteraction
))]
15
public
class
IgnoreColliderForInteractionEditor
16
:
CustomEditorBase
<IgnoreColliderForInteraction> {
17
18
19
public
override
void
OnInspectorGUI
() {
20
base.OnInspectorGUI();
21
22
EditorGUILayout.HelpBox(
23
"Causes any Colliders located on the same GameObject to be ignored by the "
24
+
"Interaction Engine. Does not affect parents or children. It is recommended that "
25
+
"you use this component only with trigger colliders."
,
26
MessageType.None);
27
}
28
29
}
30
31
}
IgnoreColliderForInteraction
Causes any Colliders located on the same GameObject to be ignored by the Interaction Engine....
Definition:
IgnoreColliderForInteraction.cs:28
Leap.Unity.CustomEditorBase
Definition:
CustomEditorBase.cs:17
Leap.Unity.Interaction.IgnoreColliderForInteractionEditor
Definition:
IgnoreColliderForInteractionEditor.cs:16
Leap.Unity.Interaction.IgnoreColliderForInteractionEditor.OnInspectorGUI
override void OnInspectorGUI()
Definition:
IgnoreColliderForInteractionEditor.cs:19
Leap.Unity.Interaction
Definition:
MovePoseExample.cs:11
UnityEditor
Definition:
BoxSliderEditor.cs:6
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Plugins
LeapMotion
Modules
InteractionEngine
Scripts
Utility
Editor
IgnoreColliderForInteractionEditor.cs
Generated by
1.9.3