Exemple #1
0
    IEnumerator FinishIntroRoutine(ImageAudioButton obj)
    {
        groups.ForEach(e => e.blocksRaycasts = false);
        iTween.ValueTo(gameObject, iTween.Hash("from", 1.0f, "to", 0.0f, "time", 0.6f, "onupdate", "FadeGroupUpdate"));
        yield return(StartCoroutine(AudioController.Instance.PlaySequenceRoutine(bellClip, obj.clickClip)));

        AudioController.Instance.StopEngine();

        StartCoroutine(obj.LoadRoutine(LoadingFinished));
    }
Exemple #2
0
 private void HandleImageAudioClicked(ImageAudioButton obj)
 {
     //Display loading.
     StartCoroutine(FinishIntroRoutine(obj));
 }