Class HUDBreathBar
Player breath bar for HUD.
Inherited Members
Panel.SetBorderTextures(Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, FilterMode, Nullable<Border<Vector2Int>>)
Assembly: Assembly-CSharp.dll
Syntax
public class HUDBreathBar : Panel, IDisposable
Constructors
|
Improve this Doc
View Source
HUDBreathBar()
Declaration
Fields
|
Improve this Doc
View Source
borderSize
Declaration
public const int borderSize = 10
Field Value
|
Improve this Doc
View Source
nativeBarWidth
Declaration
public const int nativeBarWidth = 4
Field Value
Properties
|
Improve this Doc
View Source
Breath
Gets or sets current breath as value between 0 and 1.
Declaration
public float Breath { get; set; }
Property Value
|
Improve this Doc
View Source
CustomBreathBarPosition
Declaration
public Vector2? CustomBreathBarPosition { get; set; }
Property Value
|
Improve this Doc
View Source
CustomBreathBarSize
Declaration
public Vector2? CustomBreathBarSize { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Update()
Declaration
public override void Update()
Overrides