void Start() { myObjectSelection = GetComponent <SoundMarkerSelection>(); soundMarkers = new List <SoundMarker>(); myObjectSelection.selectionDelegate = this; canvasControl.canvasDelegate = this; originMarker = anchorWrapperTransform.GetComponentInChildren <OriginMarker>(); arCoreDevice = GameObject.Find("ARCore Device"); firstPersonCamera = arCoreDevice.gameObject.transform.GetChild(0).GetComponent <Camera>(); soundPlacement.SetCursorModelHidden(true); }
void Start() { loadingOverlay.gameObject.SetActive(false); VoiceOver.main.setDelegate(this); GetComponent<ARCoreTracking>().setDelegate(this); GetComponent<FlicReceiver>().setDelegate(this); myObjectSelection = GetComponent<SoundMarkerSelection>(); myObjectSelection.selectionDelegate = this; canvasControl.canvasDelegate = this; originMarker = anchorWrapperTransform.GetComponentInChildren<OriginMarker>(); arCoreDevice = GameObject.Find("ARCore Device"); firstPersonCamera = arCoreDevice.gameObject.transform.GetChild(0).GetComponent<Camera>(); soundPlacement.SetCursorModelHidden(true); }