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

Reimplemented from AVR.Core.AVR_Component.

Reimplemented in AVR.Motion.AVR_LocomotionProvider, AVR.UI.AVR_UIInteractionProvider, and AVR.Motion.AVR_TurnProvider.

Definition at line 14 of file AVR_ControllerComponent.cs.

15  {
16  controller = GetComponentInParent<AVR_Controller>();
17  if(!controller) {
18  AVR_DevConsole.cerror("AVR_ControllerComponent does not have an AVR_Controller in on itself or one of its parents!", this);
19  }
20  base.Awake();
21  }