Exemple #1
0
    public void PlaySound(string itemName)
    {
        var clip = clips.Find(x => x.name.Equals(itemName));

        MSManager.PlaySound("SoundPlayer", clip);
    }
Exemple #2
0
    // Update is called once per frame

    private void PlayBackground()
    {
        MSManager.PlaySound("MusicPlayer", clips[0], true);
    }