https://forums.unrealengine.com/show...legate-example
Just like one of replies, it happened to me that TSubclassOf<class UInventoryUserWidget> InventoryUIClass not being initialized (still NULL)...
I did googling or being experiemental... I have been grasping hard time about what is TSubclassOf<> exactly...
and how do I manually initialize TSubclassOf<> by C++?
I tried NewObject<>() also (which seems lacking idea), but cannot put into right thought.
I really need to use TSubeclassOf<> if I have to use custom Widget in C++...
Help me please.
Just like one of replies, it happened to me that TSubclassOf<class UInventoryUserWidget> InventoryUIClass not being initialized (still NULL)...
I did googling or being experiemental... I have been grasping hard time about what is TSubclassOf<> exactly...
and how do I manually initialize TSubclassOf<> by C++?
I tried NewObject<>() also (which seems lacking idea), but cannot put into right thought.
I really need to use TSubeclassOf<> if I have to use custom Widget in C++...
Help me please.
Comment