// The below functions are called by the VREyeRaycaster when the appropriate input is detected.
        // They in turn call the appropriate events should they have subscribers.
        public void Over()
        {
            m_IsOver = true;

            if (OnOver != null)
            {
                OnOver.Invoke();
            }
        }
Пример #2
0
        public static void Over()
        {
            if (!IsGameStart)
            {
                return;
            }

            IsGameStart = false;
            OnOver?.Invoke();
        }