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

function MoveArrayElement (srcIndex : int, dstIndex : int) : boolean

Description

Move an array element from srcIndex to dstIndex.

The SerializedProperty must be pointed to an array.