debug和修复

This commit is contained in:
2026-10-10 16:07:53 +08:00
parent a0dfe7b483
commit 93783b1bd9
11 changed files with 440 additions and 13 deletions
+5
View File
@@ -140,3 +140,8 @@ func _throw() -> void:
## 当前是否抓着东西。调试用,也方便以后加「搬运时不能开枪」这类规则。
func has_object() -> bool:
return is_instance_valid(_current)
## 当前准心是否指着可拖拽的刚体(还没抓)。调试用。
func is_hovering() -> bool:
return _hovering