This function creates a delegate bound to a UObject, which is just a struct. It’s so the delegate is garbage collecter aware.