Пример #1
0
    private void Awake()
    {
        if (_interactable == null)
        {
            _interactable = GetComponent <Interactable>();
        }

        if (_audioSource == null)
        {
            _audioSource = GetComponentInChildren <AudioSource>();
        }

        if (_ringEmitter == null)
        {
            _ringEmitter = GetComponent <AudioRingEmitterController>();
        }
    }