mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
26 lines
685 B
C#
26 lines
685 B
C#
using System;
|
|
|
|
namespace GameMain
|
|
{
|
|
public class LoadUpdateLogic
|
|
{
|
|
private static LoadUpdateLogic _instance;
|
|
|
|
public Action<int> DownloadCompleteAction = null;
|
|
public Action<float> DownProgressAction = null;
|
|
public Action<bool,GameStatus> UnpackedCompleteAction = null;
|
|
public Action<float,GameStatus> UnpackedProgressAction = null;
|
|
|
|
public static LoadUpdateLogic Instance
|
|
{
|
|
get
|
|
{
|
|
if (_instance == null)
|
|
{
|
|
_instance = new LoadUpdateLogic();
|
|
}
|
|
return _instance;
|
|
}
|
|
}
|
|
}
|
|
} |