UIDisplayType

SurfaceUI 의 DisplayType μ΄μ—μš”.

Enums

이름

μ„€λͺ…

Screen

ν™”λ©΄ μ•žμ— Screen 처럼 ν‘œμ‹œλ˜λŠ” νƒ€μž…μ΄μ—μš”.

Billboard

항상 카메라λ₯Ό λ°”λΌλ³΄λŠ” νƒ€μž…μ΄μ—μš”.

-- μƒ˜ν”Œ --

local PlayerNameUI = HUD.PlayerNameUI
PlayerNameUI.Visible = false

local function spawn(character)
   local ui = character:AddPlayerHUD("SomeText", PlayerNameUI, Enum.UIDisplayType.Screen) --캐릭터에 HUDλ₯Ό μΆ”κ°€ν•˜κ³  μ΄λ¦„μœΌλ‘œ λ“±λ‘ν•΄μš”.
   ui.Visible = true
end
Game.OnSpawnCharacter:Connect(spawn)

Last updated