新增实验框架
This commit is contained in:
17
Convention/[Architecture]/Modules/ConfigManager.cs
Normal file
17
Convention/[Architecture]/Modules/ConfigManager.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Convention.Experimental.Modules
|
||||
{
|
||||
public class ConfigManager : PublicType.GameModule
|
||||
{
|
||||
public readonly ProjectConfig m_ProjectConfig = new();
|
||||
public bool IsSavePropertiesWhenShutdown = false;
|
||||
|
||||
internal override void Shutdown()
|
||||
{
|
||||
if (IsSavePropertiesWhenShutdown)
|
||||
m_ProjectConfig.SaveProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user