|
Swarm Demo 1.6
Demonstration of the swarm object manager
|
SwarmItem that handles the bullets from the ship. Processes collisions and creates explosions. More...
Public Member Functions | |
| override void | Initialize (SwarmItemManager swarmItemManager, int prefabIndex, bool debugEvents) |
| Overrides the SwarmItem's Initialize method and sets the originalScale. | |
| void | Fire (Vector3 velocity) |
| Sets the bullet's velocity. | |
| override void | OnSetParentTransform () |
| Called after being parented to the active or inactive transforms. | |
| override void | FrameUpdate () |
| Called every frame to move the bullet and check if it is in bounds. | |
SwarmItem that handles the bullets from the ship. Processes collisions and creates explosions.
| void Bullet.Fire | ( | Vector3 | velocity | ) |
Sets the bullet's velocity.
| velocity | Velocity of bullet |
| override void Bullet.FrameUpdate | ( | ) |
Called every frame to move the bullet and check if it is in bounds.
| override void Bullet.Initialize | ( | SwarmItemManager | swarmItemManager, |
| int | prefabIndex, | ||
| bool | debugEvents | ||
| ) |
Overrides the SwarmItem's Initialize method and sets the originalScale.
| override void Bullet.OnSetParentTransform | ( | ) |
Called after being parented to the active or inactive transforms.
1.7.4