Project_WL/Assets/Script/Table/Base/TableChecker.cs

27 lines
596 B
C#
Raw Normal View History

2024-12-15 01:39:39 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TableChecker : MonoBehaviourSingletonTemplate<TableChecker>
{
table_missionbase[] tables;
protected override void Awake()
{
base.Awake();
DontDestroy();
tables = GetComponents<table_missionbase>();
}
public bool CheckAllLoad()
{
for (int i = 0; i < tables.Length; i++)
{
if (!tables[i].Get_LoadComplete())
return false;
}
table_gachaconfig.Ins.Check_SkillGacha();
2024-12-15 01:39:39 +00:00
return true;
}
}