For Agents | Documentation index: https://create.roblox.com/docs/llms.txt | Engine API index: https://create.roblox.com/docs/reference/engine/llms.txt
學習
/
引擎 API
/
資料類型
Enum
Enum
*
此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下
這裡
。
概要
方法
GetEnumItems
()
:
{any}
FromName
(
name:
string
)
:
Enum
|
nil
FromValue
(
value:
number
)
:
Enum
|
nil
API 參考
方法
Get
Enum
Items
Enum:
Get
Enum
Items
(
)
:
{any}
返回
{any}
提供回饋
From
Name
Enum:
From
Name
(
name
:
string
)
:
Enum
|
nil
參數
name
:
string
返回
Enum
|
nil
提供回饋
From
Value
Enum:
From
Value
(
value
:
number
)
:
Enum
|
nil
參數
value
:
number
返回
Enum
|
nil
提供回饋
©2026 Roblox Corporation、Roblox、Roblox 標誌及 Powering Imagination 是我們在美國及其他國家地區的部分註冊與未註冊商標。
條款
·
隱私權
·
無障礙功能
·
支援
中文(繁體)