배우기
엔진 열거형
CreateOutfitFailure

*이 콘텐츠는 AI(베타)를 사용해 번역되었으며, 오류가 있을 수 있습니다. 이 페이지를 영어로 보려면 여기를 클릭하세요.


아이템
이름요약
InvalidName1
OutfitLimitReached2
Other3

코드 샘플

의상 생성 결과 처리
local AvatarEditorService = game:GetService("AvatarEditorService")
AvatarEditorService.PromptCreateOutfitCompleted:Connect(function(result, failureType)
if result == Enum.AvatarPromptResult.Success then
-- 의상이 생성되었습니다
elseif result == Enum.AvatarPromptResult.PermissionDenied then
-- 사용자가 프롬프트를 거부했습니다; failureType 무시
else -- Enum.AvatarPromptResult.Failed
if failureType == Enum.CreateOutfitFailure.OutfitLimitReached then
-- 사용자가 의상 한도에 도달했음을 알립니다
elseif failureType == Enum.CreateOutfitFailure.InvalidName then
-- 사용자가 다른 이름을 선택하라고 알립니다
else -- Enum.CreateOutfitFailure.Other
-- 일반적인 실패; 재시도하거나 일반 오류를 표시합니다
end
end
end)
©2026 Roblox Corporation. Roblox 및 Roblox 로고, 'Powering Imagination'은 미국 및 기타 국가 내 당사의 등록 및 미등록 상표입니다.