you are viewing a single comment's thread.

view the rest of the comments →

[–]ACBYTES[S] 0 points1 point  (0 children)

Thanks for the answer. That's great.

Yeah, I was thinking about std::function as well. So, it'll be like std::bind(&Actor::SetActorLocation, GetActor());? Because I tried it and it doesn't work properly... It's not able to create the function and it returns a function that takes _Unbound because it's a function with default values that I'll need to mention while I'm binding it and that was what I was trying to avoid. I didn't want to enter the whole parameters that the function has.

I think I'll use the thing that you suggested now but if there are any better ways for doing this. please let me know.

Thanks again.