I want to create an event in C++ which will be called many times under the C++ code obviously, and if Possible please tell me how to use the sequence in C++? or it just calling functions after one another?
The visual example is:
I want to create an event in C++ which will be called many times under the C++ code obviously, and if Possible please tell me how to use the sequence in C++? or it just calling functions after one another?
The visual example is:
Custom event is simply a new function in C++. Just declare it in .h and make implementation in .cpp
.h:
void MyFunc();
.cpp:
void MyClass::MyFunc()
{
}
Parameters go into the brackets, and you can have a return type instead on void too.
And sequence in BP is just for visual convenience. In c++ just call functions one after another.
Thank you for explaining in details Sir .