Klasa silnika
StudioService
*Ta zawartość została przetłumaczona przy użyciu narzędzi AI (w wersji beta) i może zawierać błędy. Aby wyświetlić tę stronę w języku angielskim, kliknij tutaj.
Podsumowanie
Właściwości
Metody
GetClassIcon(className: string):Dictionary |
PromptImportFile(fileTypeFilter: {any}):Instance |
PromptImportFileAsync(fileTypeFilter: {any}):Instance |
PromptImportFiles(fileTypeFilter: {any}):Instances |
PromptImportFilesAsync(fileTypeFilter: {any}):Instances |
Materiały referencyjne dotyczące interfejsów API
Właściwości
DrawConstraintsOnTop
Metody
GetClassIcon
GetUserId
Zwroty
Przykłady kodu
StudioService:GetUserId
-- Może być używany tylko w wtyczce
local StudioService = game:GetService("StudioService")
local Players = game:GetService("Players")
local loggedInUserId = StudioService:GetUserId()
local loggedInUserName = Players:GetNameFromUserIdAsync(loggedInUserId)
print("Witaj,", loggedInUserName)PromptImportFile
PromptImportFileAsync
PromptImportFiles