Update godot README.md
This commit is contained in:
parent
e76169681e
commit
959655faac
1 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ This will connect when the Scene is ready, poll and print the data when we recei
|
||||||
extends Node
|
extends Node
|
||||||
|
|
||||||
# The URL we will connect to.
|
# The URL we will connect to.
|
||||||
var websocket_url = "ws://localhost:4008"
|
var websocket_url = "ws://127.0.0.1:4008"
|
||||||
var socket := WebSocketPeer.new()
|
var socket := WebSocketPeer.new()
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
|
|
@ -145,7 +145,7 @@ func _on_button_pressed():
|
||||||
extends Node
|
extends Node
|
||||||
|
|
||||||
# The URL we will connect to.
|
# The URL we will connect to.
|
||||||
var websocket_url = "ws://localhost:4008"
|
var websocket_url = "ws://127.0.0.1:4008"
|
||||||
var socket := WebSocketPeer.new()
|
var socket := WebSocketPeer.new()
|
||||||
|
|
||||||
@onready var output_label = $"../Panel/VBoxContainer/RichTextLabel"
|
@onready var output_label = $"../Panel/VBoxContainer/RichTextLabel"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue