StarterGuiクラス
ひとことで言うと
プレイヤーの画面に表示するGUI(ボタンや文字など)を入れておく場所です。ここに入れたものが、プレイヤーが参加したときに各自の画面にコピーされます。
公式の説明(英語):A container for LayerCollector objects to be copied into the PlayerGui of Class.Player|Players. Also provides a range of functions for interacting with the CoreGui.
クラスの関係
受け継いでいるクラス:Object → Instance → BasePlayerGui → StarterGui
プロパティ(5)
| 名前と書き方 | 説明 |
|---|---|
ClipsDescendantsSupportsRotationStarterGui.ClipsDescendantsSupportsRotation: RolloutState | Determines whether the Class.GuiObject.ClipsDescendants|ClipsDescendants property of a GuiObject clips **rotated** descendants. |
RtlTextSupportStarterGui.RtlTextSupport: RtlTextSupport | Controls whether right-to-left (RTL) text layout is enabled for text in Class.GuiObject|GuiObjects throughout the experience. |
ScreenOrientationStarterGui.ScreenOrientation: ScreenOrientation | Sets the default screen orientation mode for users with mobile devices. |
ShowDevelopmentGuiStarterGui.ShowDevelopmentGui: boolean | Determines whether the contents of StarterGui is visible in Studio. |
VirtualCursorModeStarterGui.VirtualCursorMode: VirtualCursorMode | Controls whether the gamepad virtual cursor is enabled for navigating Class.GuiObject|GuiObjects with a controller. |
メソッド(4)
| 名前と書き方 | 説明 |
|---|---|
GetCoreStarterGui:GetCore(parameterName: string): Variant | Returns a variable that has been specified by a Roblox core script. |
GetCoreGuiEnabledStarterGui:GetCoreGuiEnabled(coreGuiType: CoreGuiType): boolean | Returns whether the given CoreGuiTypeis enabled, or if it has been disabled using Class.StarterGui:SetCoreGuiEnabled(). |
SetCoreStarterGui:SetCore(parameterName: string, value: Variant): () | Allows you to perform certain interactions with Roblox's core scripts. |
SetCoreGuiEnabledStarterGui:SetCoreGuiEnabled(coreGuiType: CoreGuiType, enabled: boolean): () | Sets whether the CoreGui element associated with the given CoreGuiType is enabled or disabled. |
受け継いでいるメンバー
BasePlayerGui から受け継いでいるもの(1)
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
StarterGuiを使う記事
英語の説明とメンバーの一覧は、Roblox Creator Documentation(StarterGui)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。