/// <summary> /// 转换到菜单界面 /// </summary> /// <param name="onFinish"></param> public void TransitToMenu(Action onFinish = null) { transitionAnimation.SetPlayAnimationFinish(onFinish); transitionAnimation.PlayBackward(); }