Skip to content

Commit e95601c

Browse files
committed
将GameplayTagContainer改回Resource
1 parent 1236f2b commit e95601c

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

examples/tag_demo/tag_character.gd

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,4 @@ func has_tag(tag: String, exact: bool = true) -> bool:
2121

2222
## 获取所有标签
2323
func get_tags() -> Array:
24-
return tag_container.get_tags()
25-
26-
# Called when the node enters the scene tree for the first time.
27-
func _ready() -> void:
28-
pass # Replace with function body.
29-
30-
31-
# Called every frame. 'delta' is the elapsed time since the previous frame.
32-
func _process(delta: float) -> void:
33-
pass
24+
return tag_container.get_tags()

0 commit comments

Comments
 (0)