blob: 65e93a858b3f013e16ed61840a395e50bb0092e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
using UnityEngine;
using System;
using System.Collections;
namespace AdvancedInspector
{
/// <summary>
/// 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.
/// </summary>
public interface IDataChanged
{
/// <summary>
/// Fired when the Inspector changed.
/// </summary>
void DataChanged();
/// <summary>
/// Should be fired internal by the object when the fields structure changed.
/// Ex.: Added an object to a list.
/// </summary>
event GenericEventHandler OnDataChanged;
}
}
|