| | |
| | | using System.Collections.Generic; |
| | | using System.Collections.Generic; |
| | | using UnityEngine; |
| | | using LitJson; |
| | | using System; |
| | |
| | | { |
| | | if (battleType > 1) |
| | | { |
| | | UIManager.Instance.OpenWindow<FuncPresetWin>(battleType); |
| | | UIManager.Instance.OpenWindowAsync<FuncPresetWin>(battleType).Forget(); |
| | | return; |
| | | } |
| | | |
| | | if (!IsOpen()) |
| | | { |
| | | UIManager.Instance.OpenWindow<FuncPresetUnLockWin>(battleType); |
| | | UIManager.Instance.OpenWindowAsync<FuncPresetUnLockWin>(battleType).Forget(); |
| | | } |
| | | else |
| | | { |
| | | UIManager.Instance.OpenWindow<FuncPresetWin>(battleType); |
| | | UIManager.Instance.OpenWindowAsync<FuncPresetWin>(battleType).Forget(); |
| | | } |
| | | } |
| | | |