private void Awake()
        {
            if (!Application.isEditor)
            {
                Destroy(gameObject);
                return;
            }

            manualController = GetComponent <CustomInputControl>();

            currentButtonStates = new ButtonStates();
            currentlyVisible    = false;
            visibilityChanged   = false;
            controllerId        = (uint)Random.value;
        }
        private void Awake()
        {
            if (!Application.isEditor)
            {
                Destroy(gameObject);
                return;
            }

            manualController = GetComponent <CustomInputControl>();

            currentButtonStates = new ButtonStates();
            currentlyVisible    = false;
            visibilityChanged   = false;
            controllerId        = (uint)Random.value;

            InteractionInputSource inputSource = FindObjectOfType <InteractionInputSource>();

            if (inputSource != null)
            {
                isNavigatorUsingRails = inputSource.UseRailsNavigation;
            }
        }