mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-17 14:37:49 +08:00
25 lines
599 B
C#
25 lines
599 B
C#
![]() |
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace UnityExplorer.Core.Config
|
|||
|
{
|
|||
|
public abstract class ConfigHandler
|
|||
|
{
|
|||
|
public abstract void RegisterConfigElement<T>(ConfigElement<T> element);
|
|||
|
|
|||
|
public abstract void SetConfigValue<T>(ConfigElement<T> element, T value);
|
|||
|
|
|||
|
public abstract T GetConfigValue<T>(ConfigElement<T> element);
|
|||
|
|
|||
|
public abstract void Init();
|
|||
|
|
|||
|
public abstract void LoadConfig();
|
|||
|
|
|||
|
public abstract void SaveConfig();
|
|||
|
|
|||
|
public virtual void OnAnyConfigChanged() { }
|
|||
|
}
|
|||
|
}
|