概要
屬性
CameraButtonIcon:ContentId |
範例程式碼
本地腳本
-- 獲取 GuiService 服務
local GuiService = game:GetService("GuiService")
-- 等待 ScreenshotHud 子物件
local screenshotHud = GuiService:WaitForChild("ScreenshotHud")
-- 啟用經驗名稱覆蓋
screenshotHud.ExperienceNameOverlayEnabled = true
-- 設定覆蓋字型
screenshotHud.OverlayFont = Enum.Font.GothamMedium
-- 設定 ScreenshotHud 可見
screenshotHud.Visible = trueAPI 參考
屬性
CameraButtonIcon
ScreenshotHud.CameraButtonIcon:ContentId
ExperienceNameOverlayEnabled
OverlayFont
UsernameOverlayEnabled