ThreadStart Method |
Starts a new Thread that runs method on object instance with userdata passed as an argument. Even if no userdata is passed, method must accept one argument and it will be null. The priority of the Thread can be changed by passing a value from the ThreadPriority enum.
Returns on success, or on failure.
Namespace: Godot
public Error Start( Object instance, string method, Object userdata = null, ThreadPriority priority = ThreadPriority.Normal )
[Missing <param name="instance"/> documentation for "M:Godot.Thread.Start(Godot.Object,System.String,System.Object,Godot.Thread.Priority)"]
[Missing <param name="method"/> documentation for "M:Godot.Thread.Start(Godot.Object,System.String,System.Object,Godot.Thread.Priority)"]
[Missing <param name="userdata"/> documentation for "M:Godot.Thread.Start(Godot.Object,System.String,System.Object,Godot.Thread.Priority)"]
[Missing <param name="priority"/> documentation for "M:Godot.Thread.Start(Godot.Object,System.String,System.Object,Godot.Thread.Priority)"]
[Missing <returns> documentation for "M:Godot.Thread.Start(Godot.Object,System.String,System.Object,Godot.Thread.Priority)"]