private void OnFocusNodeChanged(object sender, MusicTree.FocusNodeChangedArgs e) { RefreshSongList(); mUIAnimation?.ResetToBeginning(); mUIAnimation?.PlayForward(); }
/// <summary> /// 转换到战斗界面 /// </summary> /// <param name="onFinish"></param> public void TransitToBattle(Action onFinish = null) { transitionAnimation.SetPlayAnimationFinish(onFinish); transitionAnimation.PlayForward(); }