hello
in c++ just i include the class and make variable with type of class then call the function.
but how to do this in Blueprint
i mean when i add variable then try to call function will not work because its not initialized yet, its just a reference
the parent class is uobject ,and that node construct object from class not working either , how to do it!
what i did is :
- create new Blueprint class and choose object as parent and add a function
-i go to character blueprint and make variable from that class to call that function ,will not work
what i am missing?
if i create it as ActorCommponent its working but not what i want!