Exemple #1
0
    public void Init()
    {
        if (isInitedBefore)
        {
            return;
        }

        isInitedBefore = true;

        SetInitialVariables();

        if (audioSource.playOnAwake)
        {
            Play();
        }

        AudioController.AddAudioInfo(this);
    }