Apprendre
Classe de moteur
StarterGui
Création impossible
Service

*Ce contenu est traduit en utilisant l'IA (Beta) et peut contenir des erreurs. Pour consulter cette page en anglais, clique ici.



Référence API
Propriétés
ClipsDescendantsSupportsRotation
Non scriptable
Lecture parallèle
Capacités : UI
StarterGui.ClipsDescendantsSupportsRotation:Enum.RolloutState

ProcessUserInput
Caché
Non répliqué
Sécurité des plugins
Lecture parallèle
Capacités : UI
StarterGui.ProcessUserInput:boolean

ResetPlayerGuiOnSpawn
Déprécié

RtlTextSupport
Non scriptable
Lecture parallèle
Capacités : UI
StarterGui.RtlTextSupport:Enum.RtlTextSupport

ScreenOrientation
Lecture parallèle
Capacités : UI
StarterGui.ScreenOrientation:Enum.ScreenOrientation

ShowDevelopmentGui
Lecture parallèle
Capacités : UI
StarterGui.ShowDevelopmentGui:boolean

VirtualCursorMode
Non scriptable
Lecture parallèle
Capacités : UI
StarterGui.VirtualCursorMode:Enum.VirtualCursorMode

Méthodes
GetCore
Rendement
Capacités : UI
StarterGui:GetCore(parameterName:string):Variant
Paramètres
parameterName:string
Retours
Variant

GetCoreGuiEnabled
Capacités : UI
StarterGui:GetCoreGuiEnabled(coreGuiType:Enum.CoreGuiType):boolean
Paramètres
coreGuiType:Enum.CoreGuiType
Retours
Échantillons de code
Vérification si un Core GUI est activé
local StarterGui = game:GetService("StarterGui")
print(StarterGui:GetCoreGuiEnabled("PlayerList"))

SetCore
Capacités : UI
StarterGui:SetCore(
parameterName:string, value:Variant
):()
Paramètres
parameterName:string
value:Variant
Retours
()
Échantillons de code
Paramètres de l'interface utilisateur de StarterGui
local StarterGui = game:GetService("StarterGui")
-- Définir le thème du menu contextuel de l'avatar
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
Capacités : UI
StarterGui:SetCoreGuiEnabled(
coreGuiType:Enum.CoreGuiType, enabled:boolean
):()
Paramètres
coreGuiType:Enum.CoreGuiType
enabled:boolean
Retours
()

©2026 Société Roblox. Roblox, le logo Roblox et Powering Imagination font partie de nos marques déposées aux États-Unis et dans d'autres pays.