エンジンクラス
StarterGui
*このコンテンツは、ベータ版のAI(人工知能)を使用して翻訳されており、エラーが含まれている可能性があります。このページを英語で表示するには、 こちら をクリックしてください。
概要
プロパティ
方法
GetCoreGuiEnabled(coreGuiType: Enum.CoreGuiType):boolean |
SetCoreGuiEnabled(coreGuiType: Enum.CoreGuiType,enabled: boolean):() |
APIリファレンス
プロパティ
ResetPlayerGuiOnSpawn
方法
GetCoreGuiEnabled
パラメータ
戻り値
コードサンプル
コア GUI が有効かどうかの確認
local StarterGui = game:GetService("StarterGui")
print(StarterGui:GetCoreGuiEnabled("PlayerList"))SetCore
パラメータ
value:Variant |
戻り値
()
コードサンプル
スタートGUI設定コア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
パラメータ
戻り値
()