Unity has a c# scripting api, layered on the core c++ foundation. Unreal, on the hand, is C++ top and bottom.
They have Blueprints[1] (visual scripting) and had a scripting language. However, they have removed it since then.
1: https://docs.unrealengine.com/en-US/ProgrammingAndScripting/...