예제 #1
0
    public MSMultiSample PlayMultiSample(Component requester, string ms_name, float fade_in)
    {
        MSMultiSample msmultiSample = this.FindMultisample(ms_name);

        if (msmultiSample != null)
        {
            msmultiSample.Play(requester, fade_in);
            return(msmultiSample);
        }
        return(null);
    }
예제 #2
0
    public MSMultiSample PlayMultiSample(string ms_name, float fade_in)
    {
        MSMultiSample msmultiSample = this.FindMultisample(ms_name);

        if (msmultiSample != null)
        {
            msmultiSample.Play(fade_in);
            return(msmultiSample);
        }
        return(null);
    }
예제 #3
0
    public MSMultiSample PlayMultiSample(Component requester, string ms_name, float fade_in, bool change_rainforest_ambient_volume = false, float rainforest_ambient_volume = 1f)
    {
        MSMultiSample msmultiSample = this.FindMultisample(ms_name);

        if (msmultiSample != null)
        {
            msmultiSample.m_ChangeRainforestAmbientVolume = change_rainforest_ambient_volume;
            msmultiSample.m_RainforestAmbientVolume       = rainforest_ambient_volume;
            msmultiSample.Play(requester, fade_in);
            return(msmultiSample);
        }
        return(null);
    }