เรียนรู้
Engine Class
TextChannelWindow

*เนื้อหานี้แปลโดยใช้ AI (เวอร์ชัน Beta) และอาจมีข้อผิดพลาด หากต้องการดูหน้านี้เป็นภาษาอังกฤษ ให้คลิกที่นี่


ข้อมูลสรุป

สมาชิกที่ได้รับทอด

เอกสารอ้างอิงเกี่ยวกับ API
คุณสมบัติ
Target
อ่านพร้อมๆ กัน
ความสามารถ: UI, Chat
TextChannelWindow.Target:TextChannel

FontFace
อ่านพร้อมๆ กัน
ความสามารถ: UI, Chat
TextChannelWindow.FontFace:Font
ตัวอย่างโค้ด
ฟอนต์หน้าต่างข้อความที่กำหนดเอง
local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = Players.LocalPlayer:WaitForChild("PlayerGui")
local window = Instance.new("TextChannelWindow")
window.Size = UDim2.fromOffset(400, 300)
window.Target = TextChatService:WaitForChild("TextChannels"):WaitForChild("RBXGeneral")
-- FontFace ใช้ได้เฉพาะเมื่อ UseDefaultFont เป็น false
window.UseDefaultFont = false
window.FontFace = Font.fromName("FredokaOne")
window.Parent = screenGui

UseDefaultFont
อ่านพร้อมๆ กัน
ความสามารถ: UI, Chat
TextChannelWindow.UseDefaultFont:boolean
ตัวอย่างโค้ด
ฟอนต์หน้าต่างข้อความที่กำหนดเอง
local Players = game:GetService("Players")
local TextChatService = game:GetService("TextChatService")
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = Players.LocalPlayer:WaitForChild("PlayerGui")
local window = Instance.new("TextChannelWindow")
window.Size = UDim2.fromOffset(400, 300)
window.Target = TextChatService:WaitForChild("TextChannels"):WaitForChild("RBXGeneral")
-- FontFace ใช้ได้เฉพาะเมื่อ UseDefaultFont เป็น false
window.UseDefaultFont = false
window.FontFace = Font.fromName("FredokaOne")
window.Parent = screenGui

©2026 Roblox Corporation. Roblox, โลโก้ Roblox และ Powering Imagination เป็นส่วนหนึ่งของเครื่องหมายการค้าที่จดทะเบียน และไม่ได้จดทะเบียนของเราในสหรัฐฯ และประเทศอื่นๆ