/// <summary> /// Event handler to receive changes from the provider. /// </summary> /// <param name="list">Change list received.</param> void OnReceivedChangeList([CanBeNull] IReadOnlyList <IChangeEntry> list) { if (list != null) { UpdateChangeList(list); UpdatedChangeList?.Invoke(); } else { Debug.LogError("Failed to fetch latest change list."); } }
void NotifyChanges() { UpdatedChangeList?.Invoke(); }