This adds the following callbacks to NetList:
/// <summary>
/// Get notified when the list has changed.
/// </summary>
public Action<NetListChangeEvent<T>> OnChanged;
And the following to NetDictionary:
/// <summary>
/// Get notified when the dictionary is changed.
/// </summary>
public Action<NetDictionaryChangeEvent<TKey, TValue>> OnChanged;
Called for both the caller and the remote client that receives updates.
I hope that you'll be successful at achieving stability with the new light baking and other improvements.
See you in the upcoming year!
I assume it's weird because you're doing remote calls. You might want to see if you can wire up .NET events directly, would be nicer looking and more intuitive to .NET developers. But I don't know what your system looks like, that might be more trouble than it's worth, or even undesirable.
Merry Christmas and a Happy New Year! Wishing the entire Facepunch team a wonderful and restful break. See you in January! 🎄