|
2D Shooter Bullet and Weapon System for Unity 3.0.0
|
Links a bullet GameObject to its DOTS entity. More...
Public Member Functions | |
| void | OnRicochet (float newDirectionAngleRadians) |
| Called when bullet ricochets - updates the entity's direction so BulletMovementSystem continues correctly. | |
Public Attributes | |
| Entity | LinkedEntity |
| DotsBulletManager | Manager |
Links a bullet GameObject to its DOTS entity.
Placed on pooled bullet GameObjects when using DOTS.
| void DotsBulletLink.OnRicochet | ( | float | newDirectionAngleRadians | ) |
Called when bullet ricochets - updates the entity's direction so BulletMovementSystem continues correctly.
| Entity DotsBulletLink.LinkedEntity |
| DotsBulletManager DotsBulletLink.Manager |