How can I convert the DoN node into C++ in Unreal Engine? I attached an image of my BP for the Double Jump feature.
I try and test this BP for the Double Jump feature in my project, but my teacher asks me to do this feature in C++. I am pretty new to Unreal and done several types of research but still do not know how to convert this BP into C++. I would appreciate any help from you guys. Thanks!
The equivalent would be a While loop with an increment in C++
int32 i = 0;
while(i <= 1)
{
i++;
// Do other stuff here.
}
You may want the increment to be a class member so it can be reset outside of the scope of the containing function.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.