Uninomicon

Documenting the dark corners of the Unity Engine.

User Tools

Site Tools


serializedobject

This is an old revision of the document!


SerializedObject

Getting/Setting Managed References

Getting a managed reference out of a SerializedProperty is very challenging. It's better to just use C# reflection on the original object and force the asset / object to re-save.

See also: https://forum.unity.com/threads/setting-a-serializedproperty-to-a-struct.521752/

serializedobject.1614099090.txt.gz · Last modified: 2021/02/23 16:51 by 73.95.178.156