This commit is contained in:
2024-05-28 11:03:13 -05:00
commit 277fb03a69
75 changed files with 5206 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
@tool
extends Button
signal node_dropped(node_path)
func _can_drop_data(_pos, data):
if data.type == "nodes":
var node = get_node(data.nodes[0])
return node is AnimationPlayer
return false
func _drop_data(_pos, data):
var path = data.nodes[0]
node_dropped.emit(path)