20 lines
425 B
C#
20 lines
425 B
C#
|
|
using System;
|
|||
|
|
using System.Collections;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.IO;
|
|||
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
namespace GeneralTools
|
|||
|
|
{
|
|||
|
|
public class WaitLoadResources
|
|||
|
|
{
|
|||
|
|
//加载事件
|
|||
|
|
public static List<Action> loadingListeners = new List<Action>();
|
|||
|
|
|
|||
|
|
public static bool AddLoadingAction(Action act)
|
|||
|
|
{
|
|||
|
|
loadingListeners.Add(act);
|
|||
|
|
return true;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|