如图

就比如我想在material被修改时做一些操作,于是根据文档提示重写了setter函数
func set_material(value)->void:
do_something()
pass
结果报错了:
The method "set_material" overrides a method from native class "CanvasItem". This won't be called by the engine and may not work as expected. (Warning treated as error.)
我记得Godot3是可以这样的,好像Godot4不行了?