Exemple #1
0
        public void Stop(string soundName)
        {
            SoundData sound = this.findSoundByName(soundName);

            if (sound != null)
            {
                sound.Stop();
            }
        }
Exemple #2
0
    public void Stop(string _name)
    {
        //Debug.Log ("SoundManager Stop _name:" + _name);
        int       _hashID = Animator.StringToHash(_name);
        SoundData _data   = FindSound(_hashID, _name);

        if (_data != null)
        {
            _data.Stop();
        }
    }
Exemple #3
0
    public void Stop(string _name)
    {
        //Debug.Log ("SoundManager Stop _name:" + _name);
        int       _hashID = _name.GetHashCode();
        SoundData _data   = FindSound(_hashID, _name);

        if (_data != null)
        {
            _data.Stop();
        }
    }
Exemple #4
0
    public static void Stop(string p_table, string p_key)
    {
        SoundData _soundData = GetSoundData(p_table, p_key);

        _soundData.Stop();
    }