StudioTheme

非推奨を表示
作成できません
複製されていません

概要

方法

プロパティ

方法

GetColor

プラグインのセキュリティ

The GetColor() function returns the Color3 corresponding to the arguments provided. For instance, if you would like to get the Color3 of the Studio "MainButton" when it's disabled, you can use the following code:


settings().Studio.Theme:GetColor(Enum.StudioStyleGuideColor.MainButton, Enum.StudioStyleGuideModifier.Disabled)

See the Enum.StudioStyleGuideColor reference for a list of Studio elements and Enum.StudioStyleGuideModifier for a list of modifiers.

パラメータ

The element you want to get the theme color for.

The modifier you want to place on the StyleGuideColor element.

既定値: "Default"

戻り値

The corresponding Color3 theme value.

イベント