C# Class HealthScript, WaitingForHorus

Inheritance: MonoBehaviour
Afficher le fichier Open project: merveilles/WaitingForHorus Class Usage Examples

Méthodes publiques

Свойство Type Description
HealthSpheres Renderer[]
PlayerScript PlayerScript
_Health int
_Shield int
deathPrefab GameObject
invulnerabilityTime float
maxHealth int
maxShield int
shieldRegenTime float
shieldRenderer Renderer
timeUntilRespawn float

Méthodes publiques

Méthode Description
Awake ( ) : void
DeclareHitToOthers ( int damage, Vector3 point, PlayerPresence instigator ) : void
OnDisable ( ) : void
OnEnable ( ) : void
PlayDeathPrefab ( ) : void
Update ( ) : void
UpdateShield ( ) : void

Private Methods

Méthode Description
DoDamageOwner ( int damage, Vector3 point, PlayerPresence instigator ) : void
OthersReceiveHit ( int damage, Vector3 point, uLink instigatorPresenceViewID ) : void
RemotePlayDeathPrefab ( ) : void
ShotFired ( ) : void
UpdateHealthSphereVisibility ( ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

DeclareHitToOthers() public méthode

public DeclareHitToOthers ( int damage, Vector3 point, PlayerPresence instigator ) : void
damage int
point Vector3
instigator PlayerPresence
Résultat void

OnDisable() public méthode

public OnDisable ( ) : void
Résultat void

OnEnable() public méthode

public OnEnable ( ) : void
Résultat void

PlayDeathPrefab() public méthode

public PlayDeathPrefab ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateShield() public méthode

public UpdateShield ( ) : void
Résultat void

Property Details

HealthSpheres public_oe property

public Renderer[] HealthSpheres
Résultat Renderer[]

PlayerScript public_oe property

public PlayerScript PlayerScript
Résultat PlayerScript

_Health public_oe property

public int _Health
Résultat int

_Shield public_oe property

public int _Shield
Résultat int

deathPrefab public_oe property

public GameObject deathPrefab
Résultat GameObject

invulnerabilityTime public_oe property

public float invulnerabilityTime
Résultat float

maxHealth public_oe property

public int maxHealth
Résultat int

maxShield public_oe property

public int maxShield
Résultat int

shieldRegenTime public_oe property

public float shieldRegenTime
Résultat float

shieldRenderer public_oe property

public Renderer shieldRenderer
Résultat Renderer

timeUntilRespawn public_oe property

public float timeUntilRespawn
Résultat float