C# Class WeaponIndicatorScript, WaitingForHorus

Inheritance: MonoBehaviour
显示文件 Open project: merveilles/WaitingForHorus Class Usage Examples

Public Methods

Method Description
Awake ( ) : void
OnGUI ( ) : void
OnPostRender ( ) : IEnumerator
Start ( ) : void

Private Methods

Method Description
DrawMeter ( int filledSegments, int emptySegments, Vector2 origin, float segmentWidth, float gapWidth, float filledSegmentHeight, float emptySegmentHeight ) : void
Rect ( Vector2 origin, Vector2 end ) : void
Render ( Color color, float opacity, Vector2 size ) : void
RenderAmmo ( Color color, float opacity, Vector2 origin ) : void
RenderHealth ( Color color, float opacity, Vector2 origin ) : void
RenderMeters ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

OnPostRender() public method

public OnPostRender ( ) : IEnumerator
return IEnumerator

Start() public method

public Start ( ) : void
return void