Пример #1
0
        private void GetTargetsToTrack()
        {
#if VUFORIA
            
            trackableBehavior = FindObjectOfType<TrackableBehaviour>();
            if( trackableBehavior )
            {
                trackableBehavior.RegisterTrackableEventHandler( this );
            }
            UpdateTargetsToTrack();
            FocusMode = FocusModes.CONTINOUSAUTO;
#endif
        }
Пример #2
0
        private void OnValidate()
        {
#if VUFORIA
            FocusMode = _focusMode;
#endif
        }