mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-19 15:27:30 +08:00

* Added a 'Default' button for config values to revert to the default value * Added an internal config entry to save the window position between sessions * Reordered the config settings in the menu so the important ones are at the top * Adjusted the UI for config entries, should be a bit easier to read now. * Adjusted the UI for Dictionaries, the keys and values now alternate background colors. * A few other minor UI fixes and tweaks for 3.3.0
23 lines
446 B
C#
23 lines
446 B
C#
using System;
|
|
|
|
namespace UnityExplorer.Core.Config
|
|
{
|
|
public interface IConfigElement
|
|
{
|
|
string Name { get; }
|
|
string Description { get; }
|
|
|
|
bool IsInternal { get; }
|
|
Type ElementType { get; }
|
|
|
|
object BoxedValue { get; set; }
|
|
object DefaultValue { get; }
|
|
|
|
object GetLoaderConfigValue();
|
|
|
|
void RevertToDefaultValue();
|
|
|
|
Action OnValueChangedNotify { get; set; }
|
|
}
|
|
}
|