Exemple #1
0
        private static void ReloadSettings()
        {
            var gazeFocusSettings = GazeFocusSettings.Get();

            LayerMask       = gazeFocusSettings.LayerMask;
            MaximumDistance = gazeFocusSettings.MaximumDistance;
            if (Scorer != null)
            {
                Scorer.Reconfigure(MaximumDistance, LayerMask.value);
            }
            if (_multiScorer != null)
            {
                _multiScorer.Reconfigure(MaximumDistance, LayerMask.value);
            }
        }