UI Follow Health Bar

UIFollowHeadlthBar

HUD
Componente
Combinar:
Built-In UI

Follow Health Bar

Propiedades

Nombre Tipo Descripción Nombre del script
Main Color Color Life, level and stroke colors MainColor
Lose HP Color Color When the life value decreases, the lost portion is briefly shown in this color. LoseHpColor
Gain HP Color Color When the life value increases, the increased part is briefly displayed in this color. GainHpColor
Background Color Color The color of the life value border and the bottom of the vignette. BackgroundColor
Alpha Float Range 0~1, the transparency of the overall UI. Alpha
Scale Vector3 Determines the overall UI scaling, and the font will be scaled as well. Scale
Player Name String Indicates the name of the current blood bar owner PlayerName
Level Int Level Level
Width Int The length of the bloodstain portion on the screen Width
Follow Target entity Must follow an entity with a Transform component. FollowTarget
Offset Vector3 Offset relative to the target to be followed Offset
Line Spacing Int The amount of life between each line, if less than or equal to 0, it will not be shown. LineSpacing
Total HP Int Total HP TotalHp
Current HP Int Current HP CurrentHp
Is OpenTween Bool When enabled, blood changes will be colored differently. IsOpenTween
Is Local Position Bool When enabled, the offset property is transferred to the world coordinate system using the local coordinate system. IsLocalPos
VisiblePlayers Player List List of players who can see this entity VisiblePlayers