It is very simple to create enums and their values by calling RegisterEnum and RegisterEnumValue. But I have not found how to unregister enums.
How is this done?
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
It is very simple to create enums and their values by calling RegisterEnum and RegisterEnumValue. But I have not found how to unregister enums.
How is this done?
You can use configuration groups to remove part of the registered interface if necessary.
Manual: Dynamic configurations
Regards,
Andreas
@WitchLord Ok, will try using configuration groups.
@Miss My game engine registers some enums from a config json file when loading the game. Instead of doing it via the game scripts. It is a one off solution when I ran the game standalone. So it works perfectly in that case.
But my editor uses the engine too. In the editor I need to be able to remove/unregister current loaded game before loading a new one. So the current enums needs to be unregistered as well.