C# Class StatSystem

Inheritance: Photon.MonoBehaviour
Show 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 property

public int deaths
return int

health public property

public float health
return float

initalHealth public property

public float initalHealth
return float

isPlayer public property

public bool isPlayer
return bool

killDeathRatio public property

public float killDeathRatio
return float

kills public property

public int kills
return int

root public property

public GameObject root
return GameObject