This is an interface and is optional. It is used to handle possible events when being generated from the pool and recycled by the pool. If you do not have any logic that needs to be triggered, you can choose not to inherit the interface or implement the interface event.

image.png

In Blueprint you can add it in Class Settings → Interfaces

image.png

image.png