I’m working on an auto-save system for a level editor I’m working on for my studio and I’m having trouble getting FTicker to work. I’m trying to create a Ticker that calls the AutoSave() function on a loop, but when I try and create the delegate for the Ticker like so:
autosaveTimerHandle = FTicker::GetCoreTicker().AddTicker(FTickerDelegate::CreateRaw(this, &FNBLEModule::AutoSave), 1.0f);
I get the error:
no instance of overloaded function "TBaseDelegate::CreateRaw [with WrappedRetValType=bool, ParamTypes=]" matches the argument list. Argument types are: (FNBLEModule *, void (FNBLEModule::*)())
I’ve used raw delegates before and never got anything like this, what have I done wrong?