How to get source object in detail panel

I followed this article to make my own detail panel

And I know I can use IPropertyHandle to change the property’s value.
But is there any way to just directly get the source object which is displayed by the detail panel so I can just edit the value easily?Because the object is a struct with a TArray which is hard to edit the value of array.

I think it’s something like, get UProperty from IPropertyHandle, cast it to UStructProperty. Then use ->Struct to figure out / check RTTI info. Then use ContainerPtrToValuePtr to get actual pointer to fields in your struct. At that point you can use offset of your field to get pointer to this object.

Thanks! I’ll try your way!