|
Eye of the Nile Docs
Everything you need to know to get started!
|
Script for a basic projectile object created from an ability.
Public Member Functions | |
| virtual void | Impact (Collider2D other) |
Public Attributes | |
| Sprite | projSprite |
| Transform | projParticlePrefab |
| float | lifetime = 999f |
| float | initialForce |
| int | damage = 0 |
| LayerMask | collisionLayers |
Private Member Functions | |
| void | OnTriggerEnter2D (Collider2D other) |
| void | Awake () |
| void | Start () |
| void | Update () |
Private Attributes | |
| Rigidbody2D | projRb |
| float | initialTime |
|
private |
|
virtual |
|
private |
|
private |
|
private |
| LayerMask AbilityProjectile.collisionLayers |
| int AbilityProjectile.damage = 0 |
| float AbilityProjectile.initialForce |
|
private |
| float AbilityProjectile.lifetime = 999f |
| Transform AbilityProjectile.projParticlePrefab |
|
private |
| Sprite AbilityProjectile.projSprite |