18 lines
327 B
C#
18 lines
327 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
/// <summary>
|
|
/// 设置接口,提供读取保存配置
|
|
/// </summary>
|
|
public interface ISetting
|
|
{
|
|
string Code { get; }
|
|
public bool Save<T>(string setItem,T value);
|
|
|
|
public T Read<T>(string setItem);
|
|
|
|
|
|
public void Remove(string setItem);
|
|
|
|
}
|