VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
static void AVR.Core.AVR_Root.Init ( )
inlinestaticprivate

Definition at line 16 of file AVR_Root.cs.

17  {
18  if(Instance==null) {
19  AVR_DevConsole.cwarn("No AVR_Root component is present. Creating one at runtime.", "AVR_Root");
20  var root = AVR.Core.Utils.Misc.CreateEmptyGameObject("Root");
21  root.gameObject.AddComponent<AVR_Root>();
22  }
23  }
AVR_Root root
The current AVR_Root instance in the scene