private void GetTargetsToTrack() { #if VUFORIA trackableBehavior = FindObjectOfType<TrackableBehaviour>(); if( trackableBehavior ) { trackableBehavior.RegisterTrackableEventHandler( this ); } UpdateTargetsToTrack(); FocusMode = FocusModes.CONTINOUSAUTO; #endif }
private void OnValidate() { #if VUFORIA FocusMode = _focusMode; #endif }