Exemple #1
0
    private void PlayClip()
    {
        SingletonManager m = SingletonManager.GetInstance();

        if (m != null)
        {
            m.GetAudioManager().PlayDialog(dialogClipName);
        }
    }
Exemple #2
0
    public void OnEnable()
    {
        SingletonManager m = SingletonManager.GetInstance();

        if (m != null)
        {
            m.GetAudioManager().PlayClip(soundClipName, 1.0f);
        }
    }
    public void OnEnable()
    {
        SingletonManager m = SingletonManager.GetInstance();

        if (m != null)
        {
            m.GetAudioManager().PlayMusic(musicClipName);
        }
    }