C# Class StatSystem

Inheritance: Photon.MonoBehaviour
Mostra file Open project: daniel-cheng/stellar Class Usage Examples

Public Properties

Property Type Description
deaths int
health float
initalHealth float
isPlayer bool
killDeathRatio float
kills int
root GameObject

Public Methods

Method Description
ModifyHealth ( float damage ) : float
OnPhotonSerializeView ( PhotonStream, stream, PhotonMessageInfo, info ) : void
Start ( ) : void
Update ( ) : void
updateKillDeathRatio ( ) : void

Method Details

ModifyHealth() public method

public ModifyHealth ( float damage ) : float
damage float
return float

OnPhotonSerializeView() public method

public OnPhotonSerializeView ( PhotonStream, stream, PhotonMessageInfo, info ) : void
stream PhotonStream,
info PhotonMessageInfo,
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

updateKillDeathRatio() public method

public updateKillDeathRatio ( ) : void
return void

Property Details

deaths public_oe property

public int deaths
return int

health public_oe property

public float health
return float

initalHealth public_oe property

public float initalHealth
return float

isPlayer public_oe property

public bool isPlayer
return bool

killDeathRatio public_oe property

public float killDeathRatio
return float

kills public_oe property

public int kills
return int

root public_oe property

public GameObject root
return GameObject