We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e59ff5a commit b80ff70Copy full SHA for b80ff70
Assets/HoloToolkit/Input/Scripts/Utilities/MotionControllerVisualizer.cs
@@ -108,6 +108,11 @@ protected override void OnDestroy()
108
InteractionManager.InteractionSourceDetected -= InteractionManager_InteractionSourceDetected;
109
InteractionManager.InteractionSourceLost -= InteractionManager_InteractionSourceLost;
110
Application.onBeforeRender -= Application_onBeforeRender;
111
+
112
+ foreach (MotionControllerInfo controllerInfo in controllerDictionary.Values)
113
+ {
114
+ Destroy(controllerInfo.ControllerParent);
115
+ }
116
#endif
117
}
118
0 commit comments