jacobdufault / fullinspector

Full Inspector supercharges Unity's inspector
MIT License
111 stars 27 forks source link

Add callbacks for collection change events #176

Open jacobdufault opened 7 years ago

jacobdufault commented 7 years ago

For example, here is one possible API

class Foo {
  [InspectorEvent(InspectorEventType.Added, "OnAdded")]
  public int[] entries;

  private void OnAdded(int[] array, int index, int newValue, int? previousValue) {
  }
}