📜  设置核心 GUI Roblox - Lua 代码示例

📅  最后修改于: 2022-03-11 14:54:54.392000             🧑  作者: Mango

代码示例1
-- LocalScript in StarterGui --
local StarterGui = game:GetService'StarterGui'
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack,false)

-- Documentation: https://developer.roblox.com/en-us/api-reference/function/StarterGui/SetCoreGuiEnabled