Enemy hurt box.
More...
|
override string | Header [get] |
| Gets the header string used to describe the component. More...
|
|
virtual Enemy | Enemy [get] |
| Gets the enemy reference. More...
|
|
virtual bool | IsInvulnerable [get] |
| Is the enemy currently invulnerable? More...
|
|
virtual IMob | Mob [get] |
| Get the mobile (charater) that this hurt box belongs too. Can return null. More...
|
|
virtual string | Header [get] |
| Gets the header string used to describe the component. More...
|
|
virtual string | DocLink [get] |
| Gets a link to documentation site. More...
|
|
virtual string | VideoLink [get] |
| Gets a link to a youtube video. More...
|
|
virtual string | Deprecated [get] |
| If non-null this component is deprecated. The string shows a message indicating how it should be replaced. More...
|
|
IMob | Mob [get] |
| Get the mobile (charater or enemy) that this hurt box belongs too. Can return null. More...
|
|
◆ Damage()
virtual void PlatformerPro.EnemyHurtBox.Damage |
( |
DamageInfo |
info | ) |
|
|
virtual |
◆ Validate()
Override this method if you want to provide custom validation. The actual code should be surrounded by the if UNITY_EDITOR / endif directive.
Reimplemented from PlatformerPro.PlatformerProMonoBehaviour.
◆ enemy
Enemy PlatformerPro.EnemyHurtBox.enemy |
|
protected |
Cached reference to the enemy script.
◆ Enemy
virtual Enemy PlatformerPro.EnemyHurtBox.Enemy |
|
get |
Gets the enemy reference.
The enemy.
◆ Header
override string PlatformerPro.EnemyHurtBox.Header |
|
get |
Gets the header string used to describe the component.
The header.
◆ IsInvulnerable
virtual bool PlatformerPro.EnemyHurtBox.IsInvulnerable |
|
get |
Is the enemy currently invulnerable?
The character.
◆ Mob
virtual IMob PlatformerPro.EnemyHurtBox.Mob |
|
get |
Get the mobile (charater) that this hurt box belongs too. Can return null.
The documentation for this class was generated from the following file:
- D:/Projects/platformer-pro-2019.3/Assets/PlatformerPro/Scripts/Enemies/EnemyHurtBox.cs