Godot Engine:如何屏蔽一些无用的警告信息

类似这种回调函数的参数未使用的警告没有什么意义

W 0:00:00.591   The argument 'delta' is never used in the function '_process'. If this is intended, prefix it with an underscore: '_delta'
  <C ++错误>      UNUSED_ARGUMENT
  <来源>          control_test.gd:13

可以在项目设置->常规->Debug->GDScript中把自己确认无意义的警告屏蔽信息掉

在这里插入图片描述

发布了261 篇原创文章 · 获赞 134 · 访问量 8万+

猜你喜欢

转载自blog.csdn.net/hello_tute/article/details/103837136
今日推荐