public void selectFocusedObject() { if (InteractibleManager.Instance.FocusedGameObject != null) { if (audioSource != null && !audioSource.isPlaying && InteractibleManager.Instance.FocusedGameObject.GetComponent <Interactible>() != null) { audioSource.Play(); } FocusedGameObject = InteractibleManager.Instance.FocusedGameObject; Interactible interactor = FocusedGameObject.GetComponent <Interactible>(); if (interactor != null) { interactor.OnSelect(); } } }