VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
void AVR.UI.AVR_Canvas.anchor_to_controller ( AVR_ControllerInputManager  controller)
inline

Anchors the canvas to a given vr controller.

Parameters
controllerController the canvas will be parented to

Definition at line 94 of file AVR_Canvas.cs.

95  {
96  this.transform.SetParent(controller.transform, true);
97  AVR_DevConsole.print(gameObject.name + " anchored to controller");
98  }