Beispiel #1
0
    public void musicOn(float time = 2.0f)
    {
        if (!ifcOpciones.music)
        {
            return;
        }

        SuperTweener.Kill(vol);
        vol = new SuperTweener.volume(gameObject, time, volumenOriginal, SuperTweener.LinearNone);
    }
 public override void OnExit(MonoBehaviour _target)
 {
     SuperTweener.Kill(m_tween);
 }
Beispiel #3
0
 public void musicOff(float time = 2.0f)
 {
     SuperTweener.Kill(vol);
     vol = new SuperTweener.volume(gameObject, time, 0.0f, SuperTweener.LinearNone);
 }
 public void UnMuteVolume()
 {
     SuperTweener.Kill(vol);
     vol = new SuperTweener.volume(gameObject, 2f, ifcOpciones.fx ? originalVolume : 0.0f, SuperTweener.LinearNone);
 }
 public void MuteVolume()
 {
     SuperTweener.Kill(vol);
     vol = new SuperTweener.volume(gameObject, 2f, 0.0f, SuperTweener.LinearNone);
 }
 public void CleanAudioFade()
 {
     SuperTweener.Kill(vol);
 }