C# Class Destroy_by_contact, Space-Rush2

Inheritance: MonoBehaviour
Datei anzeigen Open project: M4R774/Space-Rush2

Public Properties

Property Type Description
Damage float
explosion GameObject

Public Methods

Method Description
Awake ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D other ) : void
other UnityEngine.Collider2D
return void

Property Details

Damage public_oe property

public float Damage
return float

explosion public_oe property

public GameObject explosion
return GameObject