C# Class PowerBar, verthex

Inheritance: MonoBehaviour
Mostra file Open project: austinblakeslee/verthex Class Usage Examples

Public Properties

Property Type Description
emptyTexture UnityEngine.Texture2D
fillTexture UnityEngine.Texture2D

Public Methods

Method Description
Complete ( ) : bool
GetFillAmount ( ) : float
GetTargetSectionNumber ( ) : int
Hide ( ) : void
OnGUI ( ) : void
Reset ( ) : void
Show ( ) : void
Update ( ) : void
setRange ( int weaponRange ) : void

Private Methods

Method Description
DecreaseFill ( ) : void
IncreaseFill ( ) : void
SpaceBarPressed ( ) : void

Method Details

Complete() public method

public Complete ( ) : bool
return bool

GetFillAmount() public method

public GetFillAmount ( ) : float
return float

GetTargetSectionNumber() public method

public GetTargetSectionNumber ( ) : int
return int

Hide() public method

public Hide ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

Show() public method

public Show ( ) : void
return void

Update() public method

public Update ( ) : void
return void

setRange() public method

public setRange ( int weaponRange ) : void
weaponRange int
return void

Property Details

emptyTexture public_oe property

public Texture2D,UnityEngine emptyTexture
return UnityEngine.Texture2D

fillTexture public_oe property

public Texture2D,UnityEngine fillTexture
return UnityEngine.Texture2D