Search code examples
c++unreal-engine4

How to get blueprint class name in C++ in Unreal Engine 4


I want to get the name of the blueprint class so I can compare the actors, I want this Name But GetName() just gives me the one in the world, for example I get BP_Block_IronOre_193


Solution

  • Try

    GetClass()->GetName();
    

    To get the class' full name.