C# Class Hitable, Unity2d-Game

Inheritance: MonoBehaviour
ファイルを表示 Open project: sagivo/Unity2d-Game Class Usage Examples

Public Properties

Property Type Description
destroyOnHit GameObject
keepAlive bool

Public Methods

Method Description
OnTriggerEnter2D ( Collider2D other ) : void

Method Details

OnTriggerEnter2D() public method

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

Property Details

destroyOnHit public_oe property

public GameObject destroyOnHit
return GameObject

keepAlive public_oe property

public bool keepAlive
return bool