C# Class UnityPlatformer.HitBox

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: llafuente/unity-platformer Class Usage Examples

Méthodes publiques

Свойство Type Description
dealDamageToSelf bool
part CharacterPart
type HitBoxType

Méthodes publiques

Méthode Description
IsDisabled ( ) : bool

Return if the HitBox is disabled base on disableWhileOnState

OnTriggerEnter2D ( Collider2D o ) : void

I'm a DealDamage, o is RecieveDamage, then Deal Damage to it's owner!

Start ( ) : void

check missconfigurations and initialize

Private Methods

Méthode Description
OnDrawGizmos ( ) : void

Method Details

IsDisabled() public méthode

Return if the HitBox is disabled base on disableWhileOnState
public IsDisabled ( ) : bool
Résultat bool

OnTriggerEnter2D() public méthode

I'm a DealDamage, o is RecieveDamage, then Deal Damage to it's owner!
public OnTriggerEnter2D ( Collider2D o ) : void
o UnityEngine.Collider2D
Résultat void

Start() public méthode

check missconfigurations and initialize
public Start ( ) : void
Résultat void

Property Details

dealDamageToSelf public_oe property

Can i deal damage to myself?
public bool dealDamageToSelf
Résultat bool

part public_oe property

Character part this HitBox belong
public CharacterPart part
Résultat CharacterPart

type public_oe property

HitBoxType
public HitBoxType type
Résultat HitBoxType