using System;
namespace PrefsGUI
{
///
/// Basic PrefsParam that has same InnerType, OuterType
///
[Serializable]
public class PrefsParam : PrefsParamOuterInner
where T:struct // if class, that can change defaultValue in DoGUI()
{
public PrefsParam(string key, T defaultValue = default) : base(key, defaultValue) { }
protected override T ToOuter(T innerV) => innerV;
protected override T ToInner(T outerV) => outerV;
}
}