Hello, i need to know if an object is a widget, i tryed :
That does not compile. the problem is in getting the Uclass of the UUserWidget, the folowing does not compile neither :
UClass* _class = UUserWidget::StaticClass();
Error from VS :
Does anyOne know why this is not working? Or if i can use an other way to know if an UObject is a Widget?