C# Class ExampleDisplayHealth, CodeSpells

Inheritance: MonoBehaviour
Exibir arquivo Open project: srfoster/CodeSpells

Public Properties

Property Type Description
heart_dim float
heart_texture UnityEngine.Texture2D
heightFromBottom float
maxNumHearts float
x_offset float

Public Methods

Method Description
OnGUI ( ) : void
Start ( ) : void
Update ( ) : void
drawHearts ( Texture2D heart_texture, float x, float y, int numHearts ) : void

Method Details

OnGUI() public method

public OnGUI ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

drawHearts() public method

public drawHearts ( Texture2D heart_texture, float x, float y, int numHearts ) : void
heart_texture UnityEngine.Texture2D
x float
y float
numHearts int
return void

Property Details

heart_dim public_oe property

public float heart_dim
return float

heart_texture public_oe property

public Texture2D,UnityEngine heart_texture
return UnityEngine.Texture2D

heightFromBottom public_oe property

public float heightFromBottom
return float

maxNumHearts public_oe property

public float maxNumHearts
return float

x_offset public_oe property

public float x_offset
return float