Download

How to Assign Component Variable Manually?

Hello,

I made a simple C++ Actor class that has a skeletal mesh component variable. In the Blueprint, I’ve added a skeletal mesh. I want to manually assign the Skeletal mesh to the variable. In Unity I can just drag and assign it but I don’t have that option in UE4. I know I can use functions to assign it in my class, but would much rather be able to do it manually, prior to runtime. I just want to know how other developers assign component variables in UE4

56465467.JPG

Can’t you just manually assign it in the details panel > Mesh section?

](filedata/fetch?id=1811093&d=1599986374)

You can also assign it in the construction script:

](filedata/fetch?id=1811094&d=1599986433)