So I recently switch to using unreal engine from unity. I have had some experience with C++, but none with Blueprint. Obviously, I wanted to do everything in C++ but I have read online that it is probably better to use both. Right now I am confused on how to blend these 2. I have thought of two ways:
Use Blueprint to declare classes, and then use C++ to write components that handle logic (similar to MonoBehavior in Unity) that will be later added to blueprint classes.
The class, with all its components and variables are written in C++, and then Blueprint will inherit from that class. Blueprint can be used to change instance variables’ values quickly.
Are either of those ways good? Are there better ways to do it?