Hey guys,
I have a string UPROPERTY for one of my classes. And I want to execute a certain function every time it is being changed from the details panel in the editor.
Is that possible?
I did some research on this and the (incomplete) solution I found so far is as follows:
1. Create a UCLASS A derived from UObject which has a string property
2. Create a DetailLayout customization class B by deriving from IDetailLayout
3. Register the B as the class to handle displaying properties of type A in the editor
This does not work though. I mean, when I have a property of class A, I see a dropdown menu to select something (I think it is this customization: https://docs.unrealengine.com/latest...nce/index.html) instead of the custom stuff I set up.
I was hoping to use this function https://docs.unrealengine.com/latest...ged/index.html in order to set a delegate. Am I going into the wrong direction?
Is there an easy way to do what I want to do?