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