C# Class Hitable, Unity2d-Game

Inheritance: MonoBehaviour
Afficher le fichier Open project: sagivo/Unity2d-Game Class Usage Examples

Méthodes publiques

Свойство Type Description
destroyOnHit GameObject
keepAlive bool

Méthodes publiques

Méthode Description
OnTriggerEnter2D ( Collider2D other ) : void

Method Details

OnTriggerEnter2D() public méthode

public OnTriggerEnter2D ( Collider2D other ) : void
other UnityEngine.Collider2D
Résultat void

Property Details

destroyOnHit public_oe property

public GameObject destroyOnHit
Résultat GameObject

keepAlive public_oe property

public bool keepAlive
Résultat bool