I wrote a few component scripts and would like to add them to the player pawn under certain conditions.
Here is something I did as an experiment:
I added a new health component script during runtime to the player, it seems to work. Health deducts correctly.
But when I hover over the add component node, it says do not call this manually.
Is it bad to add component scripts during run time? What is the best way to add component scripts dynamically to actors?