void Start() { //Validate all the transform ocmponents ValidateComponent(LeftController); ValidateComponent(RightController); ValidateComponent(Headset); ValidateComponent(PlayerArea); leftController.Initialise(); rightController.Initialise(); }
// Start is called before the first frame update void Start() { //Validate all the transform components ValidateComponent(leftController); ValidateComponent(rightController); ValidateComponent(headset); ValidateComponent(playArea); //get the VRcontrollerComponents from the relevant controller left = leftController.GetComponent <VRController>(); right = rightController.GetComponent <VRController>(); left.Initialise(); right.Initialise(); }