Polymorphism Blueprint


How can I have several method with the same name but with different parameters in blueprint ?

I am working on a camera manager that allow the user to change his camera :

  • void ModifyCameraMode(ECameraMode
  • void ModifyCameraMode();

Reflection system as well as Blueprint VM as result does not support overloads, if you use C++ you can use overloads, but you need to mark only one overload as UFUNCTION which will be visible in reflection system. Functions outside of reflection system works normally, they simply not visible by the engine, but sometimes it may cause trouble with event binding. In blueprint you need to use diffrent names nodes, it even good convention because you don’t want 2 nodes with same name