Drag a top component to another UI panel with code implementation

When using the mapping component in TD, I need to implement in the code. When I generate rectt, I will automatically fill in one of my top components in his texture. The display of all panels is the same. I find the code to refresh the parameters in his code. I change the parameters directly, but click the display button, and his screen will not be displayed in the right panel