I also tried
UEnemyControl* EnemyClass;
EnemyClass->setHealth();
in PControl.cpp when doing Linetrace…
But then it says 'uninitialized local variable EnemyClass used.
When I try to put it in UPROPERT(EditAnywhere) it doesn’t show up anywhere
I also tried
UEnemyControl* EnemyClass;
EnemyClass->setHealth();
in PControl.cpp when doing Linetrace…
But then it says 'uninitialized local variable EnemyClass used.
When I try to put it in UPROPERT(EditAnywhere) it doesn’t show up anywhere