private void OnTouch() { if (_lwf.Movie.playing && _animationList.Count == 1) { _lwf.Stop(); return; } _lwf.Play(_animationList[_currentAnimationIndex]); if (_currentAnimationIndex < _audioList.Count) { _audioList[_currentAnimationIndex].Play(); } //AudioController.Play(_audioList[_currentAnimationIndex]); _currentAnimationIndex++; if (_currentAnimationIndex == _animationList.Count) { _currentAnimationIndex = 0; } }
public void PlayInAnimation() { RightPipe.Play(IN_ANIM_NAME); }
public void PlayOutAnimation() { LeftPipe.Play(OUT_ANIM_NAME); }
public void Show() { _lwf.OnPlayFinished = OnShowFinished; _lwf.Play(_showAnimName); }