Search Unity

Feedback ISerializationCallbackReceiver working with structs, documentation says it doesn't

Discussion in 'Documentation' started by Trisibo, Aug 24, 2020.

  1. Trisibo

    Trisibo

    Joined:
    Nov 1, 2010
    Posts:
    245
    The documentation for ISerializationCallbackReceiver says:
    However, in my tests it works fine with structs (Unity 2019.4.4f1). Also, in the localization package there seems to be a struct "TableReference" which according to the documentation uses ISerializationCallbackReceiver: https://docs.unity3d.com/Packages/c...ngine.Localization.Tables.TableReference.html

    I'm assuming the documentation is wrong, but please clarify it.
     
    oscarAbraham likes this.