using UnityEngine;
using System;
using System.Collections;
namespace AdvancedInspector
{
///
/// Define an interface called when the Inspector has performed changes.
/// The event works the other way around, as a way to notify the Inspector something changed and needs to be refreshed.
///
public interface IDataChanged
{
///
/// Fired when the Inspector changed.
///
void DataChanged();
///
/// Should be fired internal by the object when the fields structure changed.
/// Ex.: Added an object to a list.
///
event GenericEventHandler OnDataChanged;
}
}