EP 实验性框架
This commit is contained in:
@@ -5,13 +5,13 @@ namespace Convention.Experimental.Modules
|
||||
{
|
||||
public class ConfigManager : PublicType.GameModule
|
||||
{
|
||||
public readonly ProjectConfig m_ProjectConfig = new();
|
||||
public readonly ProjectConfig Config = new();
|
||||
public bool IsSavePropertiesWhenShutdown = false;
|
||||
|
||||
internal override void Shutdown()
|
||||
{
|
||||
if (IsSavePropertiesWhenShutdown)
|
||||
m_ProjectConfig.SaveProperties();
|
||||
Config.SaveProperties();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user