How to set widget component default class in Editor Utility?

Hello dalao:)

I recently developed the Actor Action Utility, and I want to set widget component’s default widget class property, but I can noly access “SetWidget” function, how should I do?

image

Take care that is not in runtime instead of with Editor!