概要
屬性
方法
GetClassIcon(className: string):Dictionary |
PromptImportFile(fileTypeFilter: {any}):Instance |
PromptImportFileAsync(fileTypeFilter: {any}):Instance |
PromptImportFiles(fileTypeFilter: {any}):Instances |
PromptImportFilesAsync(fileTypeFilter: {any}):Instances |
API 參考
屬性
DrawConstraintsOnTop
方法
GetUserId
返回
範例程式碼
StudioService:獲取使用者ID
-- 只能在插件中使用
local StudioService = game:GetService("StudioService")
local Players = game:GetService("Players")
local loggedInUserId = StudioService:GetUserId()
local loggedInUserName = Players:GetNameFromUserIdAsync(loggedInUserId)
print("你好,", loggedInUserName)PromptImportFile
PromptImportFileAsync
PromptImportFiles