void SetCallbacks() { // Naturally, when an item is added or removed, the content is changed, so... UnityAction <CSSItem> contentChangeAlert = (CSSItem item) => ContentChanged.Invoke(); ItemAdded.AddListener(contentChangeAlert); ItemRemoved.AddListener(contentChangeAlert); }