main.tscn 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. [gd_scene load_steps=4 format=2]
  2. [ext_resource path="res://minimal.tscn" type="PackedScene" id=1]
  3. [ext_resource path="res://main.gd" type="Script" id=2]
  4. [sub_resource type="GDScript" id=1]
  5. script/source = "extends LinkButton
  6. func _on_LinkButton_pressed():
  7. OS.shell_open(\"https://github.com/godotengine/webrtc-native/releases\")
  8. "
  9. [node name="Main" type="Node"]
  10. script = ExtResource( 2 )
  11. [node name="Minimal" parent="." instance=ExtResource( 1 )]
  12. [node name="CenterContainer" type="CenterContainer" parent="."]
  13. anchor_right = 1.0
  14. anchor_bottom = 1.0
  15. __meta__ = {
  16. "_edit_use_anchors_": true
  17. }
  18. [node name="LinkButton" type="LinkButton" parent="CenterContainer"]
  19. margin_left = 239.0
  20. margin_top = 293.0
  21. margin_right = 785.0
  22. margin_bottom = 307.0
  23. text = "Make sure to download the GDNative WebRTC Plugin and place it in the project folder"
  24. script = SubResource( 1 )
  25. __meta__ = {
  26. "_edit_use_anchors_": false
  27. }
  28. [connection signal="pressed" from="CenterContainer/LinkButton" to="CenterContainer/LinkButton" method="_on_LinkButton_pressed"]