요약
속성
메서드
GetCoreGuiEnabled(coreGuiType: Enum.CoreGuiType):boolean |
SetCoreGuiEnabled(coreGuiType: Enum.CoreGuiType,enabled: boolean):() |
상속된 멤버
API 참조
속성
ResetPlayerGuiOnSpawn
메서드
GetCoreGuiEnabled
매개 변수
반환
코드 샘플
코어 GUI가 활성화되어 있는지 확인하기
local StarterGui = game:GetService("StarterGui")
-- PlayerList가 활성화되어 있는지 인쇄합니다.
print(StarterGui:GetCoreGuiEnabled("PlayerList"))SetCore
매개 변수
value:Variant |
반환
()
코드 샘플
시작 GUI 설정 코어
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCore("AvatarContextMenuTheme", {
BackgroundImage = "",
BackgroundTransparency = 0.5,
BackgroundColor = Color3.fromRGB(111, 145, 242),
NameTagColor = Color3.fromRGB(0, 0, 200),
NameUnderlineColor = Color3.fromRGB(213, 233, 255),
ButtonFrameColor = Color3.fromRGB(15, 24, 65),
ButtonFrameTransparency = 0.2,
ButtonUnderlineColor = Color3.fromRGB(213, 233, 255),
Font = Enum.Font.SciFi,
})SetCoreGuiEnabled
매개 변수
반환
()