SerializedProperty.Copy Manual     Reference     Scripting  
Scripting > Editor Classes > SerializedProperty

function Copy () : SerializedProperty


Duplicates the SerializedProperty.

This lets you keep a reference to a specific property. Note that if an array size before to the copied property is modified this and this property is then accessed, then this might lead to memory corruption.