SerializedProperty.Copy

Declaration

public SerializedProperty Copy();

Description

Returns a copy of the SerializedProperty iterator in its current state.

This is useful if you want to keep a reference to the current property but continue with the iteration.

Additional resources: Next, SerializedObject.FindProperty, SerializedObject.GetIterator


Did you find this page useful? Please give it a rating: