godot-demo-projects/networking/webrtc_minimal/main.tscn

36 lines
1.0 KiB
Plaintext
Raw Normal View History

2019-06-14 04:01:57 +02:00
[gd_scene load_steps=4 format=2]
[ext_resource path="res://minimal.tscn" type="PackedScene" id=1]
[ext_resource path="res://main.gd" type="Script" id=2]
[sub_resource type="GDScript" id=1]
script/source = "extends LinkButton
func _on_LinkButton_pressed():
OS.shell_open(\"https://github.com/godotengine/webrtc-native/releases\")
"
[node name="Main" type="Node"]
2019-06-14 04:01:57 +02:00
script = ExtResource( 2 )
[node name="Minimal" parent="." instance=ExtResource( 1 )]
2019-06-14 04:01:57 +02:00
[node name="CenterContainer" type="CenterContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": true
}
[node name="LinkButton" type="LinkButton" parent="CenterContainer"]
margin_left = 239.0
margin_top = 293.0
margin_right = 785.0
margin_bottom = 307.0
text = "Make sure to download the GDNative WebRTC Plugin and place it in the project folder"
script = SubResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="CenterContainer/LinkButton" to="CenterContainer/LinkButton" method="_on_LinkButton_pressed"]