22 lines
568 B
C#
22 lines
568 B
C#
using MU3.Util;
|
|
using System;
|
|
using UnityEngine;
|
|
|
|
namespace MU3;
|
|
|
|
public class patch_BattleUI: BattleUI {
|
|
private System.Collections.IEnumerator playReadyProc(Action onFinish) {
|
|
if(!SystemUI.Exists) {
|
|
onFinish();
|
|
yield break;
|
|
}
|
|
SystemUI systemUI = SingletonMonoBehaviour<SystemUI>.instance;
|
|
float time = 1.5f;
|
|
while(0f < time) {
|
|
yield return null;
|
|
time -= Time.deltaTime;
|
|
}
|
|
onFinish();
|
|
systemUI.removeCanvas(MU3.Graphics.Const.SortOrder.UI);
|
|
}
|
|
} |