public void Init() { CAVE2Manager_Instance = this; inputManager = GetComponent <CAVE2InputManager>(); CAVE2.Input = inputManager; cameraControllers = new ArrayList(); machineName = System.Environment.MachineName; Debug.Log(this.GetType().Name + ">\t initialized on " + machineName); }
public static bool hmdVREnabled; // HMD mode (non-CAVE2 simulator) public void Init() { CAVE2Manager_Instance = this; inputManager = GetComponent <CAVE2InputManager>(); CAVE2.Input = inputManager; CAVE2.RpcManager = GetComponent <CAVE2RPCManager>(); CAVE2.Input.Init(); cameraControllers = new ArrayList(); machineName = GetMachineName(); Debug.Log(this.GetType().Name + ">\t initialized on " + machineName); Random.InitState(1138); }