When registering your class, use GDREGISTER_RUNTIME_CLASS(classname) instead of GDREGISTER_CLASS(classname) to make it only run when the game is running, and not in the engine itself