|
bool | allowMultiHit |
| If true we can hit more than one thing More...
|
|
string | weaponSlot |
| If non-null we will apply the damage type from the weapon equipped in the given weapon slot, overriding any damage type set on the attack. More...
|
|
|
override bool | DoHit (Collider2D other) |
| Do the actual hit. More...
|
|
virtual IEnumerator | DoEnable (float enableTime, float disableTime) |
| Turn on the hit box. More...
|
|
|
override string | Header [get] |
| Gets the header string used to describe the component. More...
|
|
virtual Character | Character [get, set] |
| Gets the character. More...
|
|
virtual bool | HasHit [get] |
| Returns true if the hit box has hit something since it was last enabled. 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...
|
|
Character | Character [get, set] |
| Get the character. More...
|
|
◆ DoHit()
override bool PlatformerPro.ProjectileHitBox.DoHit |
( |
Collider2D |
other | ) |
|
|
protectedvirtual |
◆ Init()
virtual void PlatformerPro.ProjectileHitBox.Init |
( |
DamageInfo |
info, |
|
|
IMob |
character, |
|
|
Projectile |
projectile, |
|
|
bool |
destroyOnEnemyHit, |
|
|
bool |
destroyOnSceneryHit |
|
) |
| |
|
virtual |
Init this instance, used for projectiles or hit boxes which are not children of a character.
◆ allowMultiHit
bool PlatformerPro.ProjectileHitBox.allowMultiHit |
If true we can hit more than one thing
◆ destroyOnEnemyHit
bool PlatformerPro.ProjectileHitBox.destroyOnEnemyHit |
|
protected |
◆ destroyOnSceneryHit
bool PlatformerPro.ProjectileHitBox.destroyOnSceneryHit |
|
protected |
◆ projectile
Projectile PlatformerPro.ProjectileHitBox.projectile |
|
protected |
The documentation for this class was generated from the following file:
- D:/Projects/platformer-pro-2019.3/Assets/PlatformerPro/Scripts/Attacks/Projectiles/ProjectileHitBox.cs