Hello! I’m trying to create Interface for interaction purposes.
For example, I have a function named bool CanBeRegistered() and I want this function to always return TRUE by default. Tried different solutions:
- Switched from bool CanBeRegistered() to void CanBeRegistered(bool& success = true), but syntax issue occured.
- Defined a body by “_Implementation” in InteractableInterface.cpp. Blueprint overriden function with calling parent returns false.
Any way I can define default return value for Interface function without overriding it in each blueprint classes I’m adding Interface to?