Extension classes running in editor may be undesired #70
Labels
c: ffi
Low-level components and interaction with GDExtension API
quality-of-life
No new functionality, but improves ergonomics/internals
C++ binding: godotengine/godot-cpp#709.
Several users have already complained about this independently. The behavior that all classes run in the Godot editor can be unintuitive, especially when coming from Godot 3.
Needs investigation if
Engine::singleton().is_editor_hint()
(see link) can be used to disable user code outside the game.We could add an opt-in at global entry point (
unsafe impl ExtensionLib
).The text was updated successfully, but these errors were encountered: