Пример #1
0
 protected void OnBeaconStateChange(object sender, BeaconStateChangeEventArgs eventArguments)
 {
     if (eventArguments.Tracked)
     {
         if (!beaconSeen)
         {
             beaconSeen = true;
         }
     }
 }
Пример #2
0
        private void OnBeaconStateChanged(object sender, BeaconStateChangeEventArgs eventArguments)
        {
            if (eventArguments.Tracked)
            {
                if (!beaconSeenOnce)
                {
                    beaconSeenOnce = true;

                    Menu.Setup();
                }
            }
        }
Пример #3
0
        protected void OnBeaconStateChange(object sender, BeaconStateChangeEventArgs eventArguments)
        {
            if (eventArguments.Tracked)
            {
                if (!beaconSeen)
                {
                    beaconSeen = true;

                    // playing audio - signal acquired
                    AudioEvent.Play(AudioEventName.Ftue.Computer.SignalAcquired, gameObject);
                }
            }
        }