serialization - Callback when GameObject is serialized -


is there callback (or other way) notified before unity3d serializes gameobject?

i need similar onserializenetworkview regular gameobject.

useful scenarios:

  • store non-serializable fields serializable classes
  • several possible optimizations on class fields

any idea?

you can have @ this function.

if implement custom assetmodificationprocessor, should able preprocess custom gameobject.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -