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
*
此内容使用人工智能(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 是我们在美国及其他国家或地区的注册与未注册商标。
条款
·
隐私政策
·
辅助功能
·
支持
中文(简体)