mirror of
https://github.com/lightsoutgames/godot-accessibility.git
synced 2024-11-13 00:55:56 +00:00
16 lines
298 B
GDScript
16 lines
298 B
GDScript
tool
|
|
extends EditorPlugin
|
|
|
|
var Accessible = preload("accessible.gd")
|
|
|
|
func _augment_node(node):
|
|
if node is Control:
|
|
Accessible.new(node)
|
|
|
|
func _enter_tree():
|
|
get_tree().connect("node_added", self, "_augment_node")
|
|
|
|
func _exit_tree():
|
|
# Clean-up of the plugin goes here
|
|
pass
|