private void OnFocusNodeChanged(object sender, MusicTree.FocusNodeChangedArgs e)
    {
        RefreshSongList();

        mUIAnimation?.ResetToBeginning();
        mUIAnimation?.PlayForward();
    }
Exemple #2
0
 /// <summary>
 /// 转换到战斗界面
 /// </summary>
 /// <param name="onFinish"></param>
 public void TransitToBattle(Action onFinish = null)
 {
     transitionAnimation.SetPlayAnimationFinish(onFinish);
     transitionAnimation.PlayForward();
 }