C# Class CharacterNetworkScript

Inheritance: MonoBehaviour
Exibir arquivo Open project: marouen-lamiri/Second-Soul Class Usage Examples

Protected Properties

Property Type Description
characterScript Character,
energyInPreviousFrame double
healthInPreviousFrame double

Protected Methods

Method Description
Start ( ) : void
Update ( ) : void
setCharacterScript ( ) : void
watchCharacterEnergy ( ) : void
watchCharacterHealth ( ) : void

Private Methods

Method Description
attackWithActiveSkill ( string attackName ) : void
changeEnergyPoints ( string energyValue ) : void
changeHealthPoints ( string healthValue ) : void
onAttackTriggered ( string attackName ) : void
onEnergyPointsChanged ( double energyValue ) : void
onHealthPointsChanged ( double healthValue ) : void
onIdleTriggered ( ) : void
onPauseGame ( ) : void
onRunTriggered ( ) : void
togglePauseGame ( ) : void
triggerIdleAnim ( ) : void
triggerRunAnim ( ) : void

Method Details

Start() protected method

protected Start ( ) : void
return void

Update() protected method

protected Update ( ) : void
return void

setCharacterScript() protected abstract method

protected abstract setCharacterScript ( ) : void
return void

watchCharacterEnergy() protected method

protected watchCharacterEnergy ( ) : void
return void

watchCharacterHealth() protected method

protected watchCharacterHealth ( ) : void
return void

Property Details

characterScript protected_oe property

protected Character, characterScript
return Character,

energyInPreviousFrame protected_oe property

protected double energyInPreviousFrame
return double

healthInPreviousFrame protected_oe property

protected double healthInPreviousFrame
return double