Exemplo n.º 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);
            }
        }
Exemplo n.º 2
0
 private static GazeFocusSettings RetrieveSettings()
 {
     return(GazeFocusSettings.Get());
 }