FTimerDelegate::BindStatic - How to bind Static function to Delegate?

I have this:

FTimerDelegate del = FTimerDelegate::BindStatic(&UAREffectStatics::SpawnProjectile);

And it doesn’t work. I think a this point I tried every possible combination of *, &, (), to get it work but it doesn’t.

How do I bind static function to delegate ?

You want CreateStatic rather than BindStatic.

FTimerDelegate del = FTimerDelegate::CreateStatic(&UAREffectStatics::SpawnProjectile);

The CreateX functions return a new delegate bound to the given function/payload, and the BindX functions update an existing delegate to use the given function/payload.