Godot运行显示 The argument 'delta' is never used in the function '_physics_process'. If this is intended, prefix it with an underscore: '_delta'

分类栏目:Godot教程

149

在制作Godot脚本时 运行显示

 The argument 'delta' is never used in the function '_physics_process'. If this is intended, prefix it with an underscore: '_delta'

这句错误是什么意思呢?

简单来说就是 delta 在下面的使用中 未被使用,其实不算特别大的错误。只需要把delta改成 _delta就可以了