For Agents | Documentation index: https://create.roblox.com/docs/llms.txt | Engine API index: https://create.roblox.com/docs/reference/engine/llms.txt
学习
/
引擎 API
/
数据类型
Instance
Instance
*
此内容使用人工智能(Beta)翻译,可能包含错误。若要查看英文页面,请点按
此处
。
摘要
构造工具
new
(
className:
string
,
parent:
Instance
?
)
fromExisting
(
existingInstance:
Instance
)
API 参考
构造工具
new
Instance.
new
(
class
Name
:
string
,
parent
:
Instance
?
)
参数
className
:
string
parent
:
Instance
?
提供反馈
from
Existing
Instance.
from
Existing
(
existing
Instance
:
Instance
)
参数
existingInstance
:
Instance
提供反馈
©2026 Roblox Corporation、Roblox、Roblox 标志及 Powering Imagination 是我们在美国及其他国家或地区的注册与未注册商标。
条款
·
隐私政策
·
辅助功能
·
支持
中文(简体)