-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.tscn
33 lines (27 loc) · 1.34 KB
/
Main.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[gd_scene load_steps=6 format=2]
[ext_resource path="res://addons/godot_voiceinterface/assets/icons/microphone.png" type="Texture" id=1]
[ext_resource path="res://addons/godot_voiceinterface/assets/icons/microphone_active.png" type="Texture" id=2]
[ext_resource path="res://addons/godot_voiceinterface/scripts/VoiceInterfaceControl.gd" type="Script" id=3]
[ext_resource path="res://addons/godot_voiceinterface/scripts/VoiceInterface.gd" type="Script" id=4]
[ext_resource path="res://Main.gd" type="Script" id=5]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 5 )
[node name="VoiceInterfaceAPI" type="Node" parent="."]
script = ExtResource( 4 )
[node name="TextureButton" type="TextureButton" parent="."]
margin_right = 40.0
margin_bottom = 40.0
texture_normal = ExtResource( 1 )
texture_pressed = ExtResource( 2 )
script = ExtResource( 3 )
voice_interface_api = NodePath("../VoiceInterfaceAPI")
[node name="Result" type="Label" parent="."]
margin_left = 330.0
margin_top = 1.0
margin_right = 851.0
margin_bottom = 424.0
[connection signal="voice_command" from="VoiceInterfaceAPI" to="." method="_on_VoiceInterfaceAPI_voice_command"]
[connection signal="button_down" from="TextureButton" to="TextureButton" method="input_start"]
[connection signal="button_up" from="TextureButton" to="TextureButton" method="input_end"]