Question on Health Component Creation

So far we have created all other components for the BasePawn and Tank with CreateDefaultSubobject<>() in the C++ class constructor. However for the Health component we added it via the Blueprint editor. Why did this component get handled differently?

No real reason. Just showcasing different methods to do the same thing.

2 Likes

Ok makes sense, thanks for the reply!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms