エンジンクラス
StudioService
*このコンテンツは、ベータ版のAI(人工知能)を使用して翻訳されており、エラーが含まれている可能性があります。このページを英語で表示するには、 こちら をクリックしてください。
概要
プロパティ
方法
GetClassIcon(className: string):Dictionary |
PromptImportFile(fileTypeFilter: {any}):Instance |
PromptImportFileAsync(fileTypeFilter: {any}):Instance |
PromptImportFiles(fileTypeFilter: {any}):Instances |
PromptImportFilesAsync(fileTypeFilter: {any}):Instances |
APIリファレンス
プロパティ
DrawConstraintsOnTop
方法
GetClassIcon
GetUserId
戻り値
コードサンプル
StudioService:GetUserId
-- プラグイン内でのみ使用できます
local StudioService = game:GetService("StudioService")
local Players = game:GetService("Players")
local loggedInUserId = StudioService:GetUserId()
local loggedInUserName = Players:GetNameFromUserIdAsync(loggedInUserId)
print("こんにちは、", loggedInUserName)PromptImportFile
PromptImportFileAsync
PromptImportFiles