Search Unity

ChangeEvent for array changes in PropertyField

Discussion in 'UI Toolkit' started by ayellowpaper, Mar 28, 2020.

  1. ayellowpaper

    ayellowpaper

    Joined:
    Dec 8, 2013
    Posts:
    52
    I searched the forum and surprisingly couldn't find a question/answer related to this issue.

    I have bound a SerializedProperty, which is an array of classes, to a PropertyField. What callback do I need to register when the number of elements in the array changes?

    Thanks in advance.
     
  2. Catsoft-Studios

    Catsoft-Studios

    Joined:
    Jan 15, 2011
    Posts:
    703
    ayellowpaper likes this.