VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
override void AVR.Core.AVR_GenericXRDevice.OnDisable ( )
inlineprotectedvirtual

Reimplemented from AVR.Core.AVR_Component.

Definition at line 160 of file AVR_GenericXRDevice.cs.

161  {
162  base.OnDisable();
163  if(nodeDevices.ContainsKey(controllerNode) && nodeDevices[controllerNode] == this) nodeDevices.Remove(controllerNode);
164  Application.onBeforeRender -= OnBeforeRender;
165  }
XRNode controllerNode
Which XRNode this object represents.
static Dictionary< XRNode, AVR_GenericXRDevice > nodeDevices