using UnityEditor;
namespace SingularityGroup.HotReload.Editor {
public interface IOption {
string ShortSummary { get; }
string Summary { get; }
/// The wrapped by SerializedObject
bool GetValue(SerializedObject so);
///
/// Handle the new value.
///
///
/// Note: caller must skip calling this if value same as GetValue!
///
/// The wrapped by SerializedObject
///
void SetValue(SerializedObject so, bool value);
/// The wrapped by SerializedObject
void InnerOnGUI(SerializedObject so);
}
///
/// An option scoped to the current Unity project.
///
///
/// These options are intended to be shared with collaborators and used by Unity Player builds.
///
public interface ISerializedProjectOption {
string ObjectPropertyName { get; }
}
}