Add Engine.print_error_messages property to disable printing errors

Backports #48359 to 3.x.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
This commit is contained in:
Andrii Doroshenko (Xrayez)
2021-07-20 13:58:07 +03:00
parent 26d0c90370
commit 726111f38f
5 changed files with 31 additions and 0 deletions

View File

@ -101,6 +101,9 @@ public:
void set_frame_delay(uint32_t p_msec);
uint32_t get_frame_delay() const;
void set_print_error_messages(bool p_enabled);
bool is_printing_error_messages() const;
void add_singleton(const Singleton &p_singleton);
void get_singletons(List<Singleton> *p_singletons);
bool has_singleton(const String &p_name) const;