C# Class TamPlayerHealth, kaijurising

Inheritance: NetworkBehaviour
Show file Open project: Moehammered/kaijurising

Public Properties

Property Type Description
health float
healthUI Slider,
playerAnimations KaijuAnimations,
sounds KaijuSounds,

Public Methods

Method Description
modifyHealth ( float healthModifier, int attackingPlayerNumber ) : void

Private Methods

Method Description
Cmd_syncVariable ( float syncedNumber ) : void
Rpc_respawnPlayer ( Vector3 spawnPos ) : void
Rpc_updateClientHealth ( float value ) : void
Start ( ) : void
chooseSound ( ) : void
reenableCollision ( ) : IEnumerator

Method Details

modifyHealth() public method

public modifyHealth ( float healthModifier, int attackingPlayerNumber ) : void
healthModifier float
attackingPlayerNumber int
return void

Property Details

health public property

public float health
return float

healthUI public property

public Slider, healthUI
return Slider,

playerAnimations public property

public KaijuAnimations, playerAnimations
return KaijuAnimations,

sounds public property

public KaijuSounds, sounds
return KaijuSounds,