I cant seem to get it to work the way you said to do it, by doing BP->GetBlueprintClass()->GetDefaultObject< ASoldier >() it returns null and i cannot for the life of me work out how to get from the blueprint to the IUnit functions
I cant seem to get it to work the way you said to do it, by doing BP->GetBlueprintClass()->GetDefaultObject< ASoldier >() it returns null and i cannot for the life of me work out how to get from the blueprint to the IUnit functions