Studio

顯示已棄用項目

*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡

無法建立
服務
未複製

工作室對象是專屬 Roblox Studio 的設置對象。它可以在 Roblox Studio 的設置下找到,在工作室標籤下。

概要

屬性

活動

屬性

"TODO" Color

未複製
平行讀取

"function" Color

未複製
平行讀取

"local" Color

未複製
平行讀取

"nil" Color

未複製
平行讀取

"self" Color

未複製
平行讀取

ActionOnAutoResumeSync

Roblox 指令碼安全性
平行讀取

ActionOnStopSync

平行讀取

Active Color

平行讀取

Active Hover Over Color

平行讀取

Always Save Script Changes

平行讀取

如果設為真實,Roblox Studio 將嘗試將在單人遊戲期間進行的腳本變更傳送到打開的空間。

Animate Hover Over

平行讀取

如果設為真實,滑鼠移動到可選擇對象時顯示的漂浮選擇框會根據 在 和 之間閃爍。

Auto Clean Empty Line

平行讀取

Auto Closing Brackets

平行讀取

Auto Closing Quotes

平行讀取

Auto Delete Closing Brackets and Quotes

平行讀取

Auto Indent Rule

平行讀取

Auto-Recovery Enabled

平行讀取

Auto-Recovery Interval (Minutes)

平行讀取

AutoResumeSyncOnPlaceOpen

Roblox 安全性
平行讀取

AutocompleteAcceptanceBehavior

Roblox 指令碼安全性
平行讀取

Automatically trigger AI Code Completion

Roblox 指令碼安全性
平行讀取

Background Color

未複製
平行讀取

指定 Roblox Studio 腳本編輯器的背景顏色。

Basic Objects Display Mode

平行讀取

在 Roblox Studio 中設置 Advanced Objects 標籤的滾動模式。

Bool Color

未複製
平行讀取

Bracket Color

未複製
平行讀取

Built-in Function Color

未複製
平行讀取

在腳本編輯器中設置內置功能和關鍵字的顏色。

Camera Mouse Wheel Speed

平行讀取

設置相機在使用滑鼠輪時前進或向後移動的磚格數量。

Camera Pan Speed

Roblox 指令碼安全性
平行讀取

Camera Shift Speed

平行讀取

設置在移動鍵按下時將相機移動到厘米/秒的速度。

Camera Speed

平行讀取

設置相機在移動按鍵時移動的速度(以厘米/秒為單位)。

Camera Speed Adjust Binding

平行讀取

Camera Zoom to Mouse Position

平行讀取

CameraAdaptiveSpeed

Roblox 指令碼安全性
平行讀取

CameraOrbitSensitivity

Roblox 指令碼安全性
平行讀取

CameraPanSensitivity

Roblox 指令碼安全性
平行讀取

CameraShiftFactor

Roblox 指令碼安全性
平行讀取

CameraTweenFocus

Roblox 指令碼安全性
平行讀取

CameraZoomSpeed

Roblox 指令碼安全性
平行讀取

Clear Output On Start

平行讀取

如果設為真值,輸出將在遊戲會話切換時自動清除。

CommandBarLocalState

平行讀取

Comment Color

未複製
平行讀取

在 Roblox Studio 的腳本編輯器中指定評論的顏色。

Current Line Highlight Color

未複製
平行讀取

Debugger Current Line Color

未複製
平行讀取

Debugger Error Line Color

未複製
平行讀取

DefaultScriptFileDir

QDir
平行讀取

指定使用者在 Roblox Studio 中啟用 Execute Script 按鈕時將開啟的預設提示目錄。

DeprecatedObjectsShown

平行讀取

如果設為真實,過時的對象將在「高級對象」視窗和「對象瀏覽器」中顯示。

DisplayLanguage

Roblox 指令碼安全性
平行讀取

DraggerActiveColor

Roblox 指令碼安全性
平行讀取

DraggerMajorGridIncrement

Roblox 指令碼安全性
平行讀取

DraggerMaxSoftSnaps

Roblox 指令碼安全性
平行讀取

DraggerPassiveColor

Roblox 指令碼安全性
平行讀取

DraggerShowHoverRuler

Roblox 指令碼安全性
平行讀取

DraggerShowMeasurement

Roblox 指令碼安全性
平行讀取

DraggerShowTargetSnap

Roblox 指令碼安全性
平行讀取

DraggerSoftSnapMarginFactor

Roblox 指令碼安全性
平行讀取

DraggerSummonMarginFactor

Roblox 指令碼安全性
平行讀取

DraggerTiltRotateDuration

Roblox 指令碼安全性
平行讀取

Enable Autocomplete

平行讀取

當設為真實時,腳本編輯器和指令欄會在寫入時顯示自動完成選單。

Enable Autocomplete Doc View

Roblox 指令碼安全性
平行讀取

Enable CoreScript Debugger

平行讀取

Enable Http Sandboxing

平行讀取

Enable Internal Beta Features

平行讀取

Enable Internal Features

平行讀取

Enable Script Analysis

Roblox 指令碼安全性
平行讀取

Enable Scrollbar Markers

Roblox 指令碼安全性
平行讀取

Enable Signature Help

Roblox 指令碼安全性
平行讀取

Enable Signature Help Doc View

Roblox 指令碼安全性
平行讀取

Enable Temporary Tabs

平行讀取

Enable Temporary Tabs In Explorer

平行讀取

Enable Type Hover

Roblox 指令碼安全性
平行讀取

EnableCodeAssist

Roblox 指令碼安全性
平行讀取

EnableIndentationRulers

Roblox 指令碼安全性
平行讀取

EnableSelectionTooltips

Roblox 指令碼安全性
平行讀取

Error Color

未複製
平行讀取

指定在腳本編輯器中偵測到無效代碼時顯示的波浪線條的顏色。

Find Selection Background Color

未複製
平行讀取

在腳本編輯器的「尋找選擇」操作中設置匹配的強調顏色(Ctrl+F)。

Font

QFont
平行讀取

指定使用在腳本編輯器中的字體。

Format On Paste

平行讀取

Format On Type

平行讀取

FreeCameraSpeedScroll

Roblox 指令碼安全性
平行讀取

Function Name Color

未複製
平行讀取

Highlight Current Line

平行讀取

Highlight Occurances

平行讀取

HintColor

未複製
平行讀取

Hover Animate Speed

平行讀取

指定徘徊動畫在 Workspace 中切換到可選擇對象時會閃爍的頻率。

Hover Box Thickness

Roblox 安全性
平行讀取

Hover Line Thickness

Roblox 安全性
平行讀取

Hover Over Color

平行讀取

指定漂浮選擇框使用的顏色。

IconOverrideDir

QDir
Roblox 指令碼安全性
平行讀取

Indent Using Spaces

平行讀取

IndentationRulerColor

未複製
Roblox 指令碼安全性
平行讀取

InformationColor

未複製
平行讀取

Keyword Color

未複製
平行讀取

設置內置 Luau 關鍵字的文字顏色。

LargeFileLineCountThreshold

Roblox 指令碼安全性
平行讀取

LargeFileThreshold

Roblox 指令碼安全性
平行讀取

Line Thickness

平行讀取

設置 Model.PrimaryPart 選擇裝飾的厚度。此值被限制在 0 和 0.05 之間。

LoadAllBuiltinPluginsInRunModes

Roblox 指令碼安全性
平行讀取

LoadUserPluginsInRunModes

Roblox 指令碼安全性
平行讀取

LocalAssetsFolder

QDir
Roblox 指令碼安全性
平行讀取

LuaDebuggerEnabled

平行讀取

指定是否啟用 Lua 調試器功能。

LuaDebuggerEnabledAtStartup

隱藏
唯讀
未複製
平行讀取

Luau Keyword Color

未複製
平行讀取

Main Volume

Roblox 指令碼安全性
平行讀取

Matching Word Background Color

未複製
平行讀取

在腳本編輯器中設置雙擊變量的亮點顏色。

Maximum Output Lines

平行讀取

輸出中可以顯示的最大線數。

未複製
平行讀取

Method Color

未複製
平行讀取

Number Color

未複製
平行讀取

在 Roblox Studio 腳本編輯器中指定數字的顏色。

Only Play Audio from Window in Focus

平行讀取

如果設為真實,播放的音頻只會在遊戲窗口被聚焦時聽到。

Operator Color

未複製
平行讀取

在腳本編輯器中設置運作者角色的文字顏色。

Output Font

QFont
平行讀取

指定輸出使用的字體。

Output Layout Mode

平行讀取

設定輸出的布局模式。

PermissionLevelShown

平行讀取

設置 API 在物件瀏覽器中顯示所需的最高許可等級。請見 Enum.PermissionLevelShown 獲得更多資訊。

Physical Draggers Select Scope By Default

Roblox 指令碼安全性
平行讀取

Pivot Snap To Geometry Color

Roblox 安全性
平行讀取

PluginDebuggingEnabled

平行讀取

PluginsDir

QDir
平行讀取

儲存本地插件的目錄。

Primary Text Color

未複製
平行讀取

Property Color

未複製
平行讀取

ReloadBuiltinPluginsOnChange

Roblox 安全性
平行讀取

ReloadLocalPluginsOnChange

Roblox 安全性
平行讀取

Respect Studio shortcuts when game has focus

平行讀取

當設為真實時,Roblox Studio 快捷方式將優先於遊戲窗口中捕獲的輸入。

Ruler Color

未複製
平行讀取

Rulers

平行讀取

RuntimeUndoBehavior

平行讀取

Script Editor Color Preset

平行讀取

Script Editor Scrollbar Background Color

未複製
平行讀取

Script Editor Scrollbar Handle Color

未複製
平行讀取

ScriptTimeoutLength

平行讀取

腳本在時間到期之前可以等待重新啟動的時間(秒)。

Scroll Past Last Line

平行讀取

Secondary Text Color

未複製
平行讀取

Select Color

平行讀取

Workspace 中使用對象選擇時使用的選擇框顏色

Select/Hover Color

平行讀取

設置 Model.PrimaryPart 選擇方塊的顏色。

Selected Menu Item Background Color

未複製
平行讀取

Selected Text Color

未複製
平行讀取

Selection Background Color

未複製
平行讀取

在腳本編輯器中設置選擇的文字的背景顏色。

Selection Box Thickness

Roblox 安全性
平行讀取

Selection Color

未複製
平行讀取

在腳本編輯器中設置選擇的文字顏色。

Selection Line Thickness

Roblox 安全性
平行讀取

Set Pivot of Imported Parts

平行讀取

Show Core GUI in Explorer while Playing

平行讀取

如果設為真值,CoreGui將在遊戲運行時顯示在探索器中。

Show Diagnostics Bar

平行讀取

如果設為真實,基本診斷資訊將在右下方顯示。

Show FileSyncService

平行讀取

Show Hidden Objects in Explorer

平行讀取

Show Hover Over

平行讀取

如果設為真,在 Workspace 上漂浮一個對象會顯示選擇方塊。

Show Light Guides

Roblox 指令碼安全性
平行讀取

Show Navigation Labels

Roblox 指令碼安全性
平行讀取

Show Navigation Mesh

平行讀取

當設為真實時,PathfindingService使用的導航網格將被視覺化。

Roblox 指令碼安全性
平行讀取

Show Plugin GUI Service in Explorer

平行讀取

當設為真實時,PluginGuiService將在 Roblox Studio 的導航器中顯示。

Show Singly Selected Attachment Parent Frame

Roblox 指令碼安全性
平行讀取

Show Whitespace

平行讀取

Show plus button on hover in Explorer

平行讀取

ShowCorePackagesInExplorer

Roblox 指令碼安全性
平行讀取

Skip Closing Brackets and Quotes

平行讀取

String Color

未複製
平行讀取

在腳本編輯器中指定字串的顏色。

Tab Width

平行讀取

指定要在腳本編輯器中代表標籤的多少空格。

Text Color

未複製
平行讀取

在腳本編輯器中指定普通文字的顏色。

Text Wrapping

平行讀取

如果設為真實,則腳本編輯器中的文字將被包裝。

平行讀取

主題屬性用於獲取/設置目前由 StudioTheme 使用的 Studio

這是用於在 Plugins 內使用的,但也會在命令行中執行。您可以通過以下方式存取功能:


settings().Studio.Theme

例個體、實例,如果您想列印目前的 Studio 主題:


print("The current Studio theme is:", settings().Studio.Theme)

Use Bounding Box Move Handles

Roblox 指令碼安全性
平行讀取

Warning Color

未複製
平行讀取

指定在指令分析器檢查到應該在腳本編輯器中處理的問題時顯示的波浪線條的顏色。

Whitespace Color

未複製
平行讀取

方法

GetAvailableThemes

外掛程式安全性

GetAvailableThemes() 功能返回一個列表,包含在 中可用的主題。您可以通過以下方式存取功能:


settings().Studio:GetAvailableThemes()

返回

工作室中可用的主題清單。

範例程式碼

The code below retrieves an array of all available themes and then iterates through them.

Output Studio Themes

local themes = settings().Studio:GetAvailableThemes()
for _, theme in pairs(themes) do
print(theme)
end

活動

ThemeChanged

外掛程式安全性

主題變更事件在 Studio 的 變更時發生。這個事件最好的使用方式是從變更主題的主題中獲取顏色,並依照此更新外掛程式的用戶介面。


此頁面