Godot Warning: The parameter “delta“ is never used in the function “_physics_process()“

环境、版本及语言:Windows10,Godot 4.2.1.stable,GDScript

省流:该警告可忽略,可直接关闭警告

The parameter "delta" is never used in the function "_physics_process()". If this is intended, prefix it with an underscore: "_delta".
大意为:函数 “_physics_process()” 中从未使用参数 “delta”。如果这是有意的,请在其前面加上下划线:“_delta”。

在你的函数中如果未使用传入参数就会报这类警告,没什么用,可以直接忽略,或者在参数前加上下划线,设置中也可以直接关闭此类警告

项目 -- 项目设置 -- 常规 -- 调试 -- GDScript -- Unused Parameter -- 改为Ignore

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值