![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Marlon Henry Schweig |
![]() |
Old Version | Published before Godot 3 was released. |
I have created a thread to execute a method, but this thread is not generating any output.
extends Node
var thread = null
func _ready():
thread = Thread.new()
var err = thread.start(self, "work")
func work():
print("oi")
while(true):
print("oi")
I need to create a thread to be communicating with a TCP socket, however it is not working