mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update
Update
This commit is contained in:
@@ -17,6 +17,26 @@ namespace TEngine.Core
|
||||
AssemblyManager.OnUnLoadAssemblyEvent += OnUnLoad;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 特殊情况调用设置。
|
||||
/// </summary>
|
||||
public static T TempInstance
|
||||
{
|
||||
get
|
||||
{
|
||||
return Instance;
|
||||
}
|
||||
set
|
||||
{
|
||||
if (Instance != null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Instance = value;
|
||||
}
|
||||
}
|
||||
|
||||
public virtual Task Initialize()
|
||||
{
|
||||
return Task.CompletedTask;
|
||||
|
Reference in New Issue
Block a user