For Agents | Documentation index: https://create.roblox.com/docs/llms.txt | Engine API index: https://create.roblox.com/docs/reference/engine/llms.txt
學習
資料庫
/
task
中文(繁體)
回饋
引擎資料庫
task
*
此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下
這裡
。
概要
函式
spawn
(
functionOrThread:
function
|
coroutine
,
...:
Variant
)
:
coroutine
defer
(
functionOrThread:
function
|
coroutine
,
...:
Variant
)
:
coroutine
delay
(
duration:
number
,
functionOrThread:
function
|
coroutine
,
...:
Variant
)
:
coroutine
desynchronize
()
:
()
synchronize
()
:
()
wait
(
duration:
number
)
:
number
cancel
(
thread:
coroutine
)
:
()
API 參考
函式
spawn
task.spawn
(
functionOrThread
:
function
|
coroutine
,
...
:
Variant
)
:
coroutine
參數
functionOrThread
:
function
|
coroutine
...
:
Variant
返回
coroutine
提供回饋
defer
task.defer
(
functionOrThread
:
function
|
coroutine
,
...
:
Variant
)
:
coroutine
參數
functionOrThread
:
function
|
coroutine
...
:
Variant
返回
coroutine
提供回饋
delay
task.delay
(
duration
:
number
,
functionOrThread
:
function
|
coroutine
,
...
:
Variant
)
:
coroutine
參數
duration
:
number
functionOrThread
:
function
|
coroutine
...
:
Variant
返回
coroutine
提供回饋
desynchronize
task.desynchronize
(
)
:
()
返回
()
提供回饋
synchronize
task.synchronize
(
)
:
()
返回
()
提供回饋
wait
task.wait
(
duration
:
number
)
:
number
參數
duration
:
number
預設值:0
返回
number
提供回饋
cancel
task.cancel
(
thread
:
coroutine
)
:
()
參數
thread
:
coroutine
返回
()
提供回饋
跳至
▼
task
概要
函式
函式
spawn()
defer()
delay()
desynchronize()
synchronize()
wait()
cancel()
中文(繁體)
回饋
©2026 Roblox Corporation、Roblox、Roblox 標誌及 Powering Imagination 是我們在美國及其他國家地區的部分註冊與未註冊商標。
條款
·
隱私權
·
無障礙功能
·
支援
中文(繁體)