![]() |
2DShooterWeaponSystem
1.9.0
|
Main pooling singleton script for bullet / object pool usage. More...
Public Member Functions | |
| GameObject | GetUsableStandardHorizontalBullet () |
| GameObject | GetUsableSphereBullet () |
| GameObject | GetUsableTurretBullet () |
| GameObject | GetUsableBeam1Bullet () |
| GameObject | GetUsableBeam2Bullet () |
| GameObject | GetUsableBeam3Bullet () |
| GameObject | GetUsableBeam4Bullet () |
| GameObject | GetUsableBeam5Bullet () |
| GameObject | GetUsableBeam6Bullet () |
| GameObject | GetUsableSparkParticle () |
| GameObject | GetUsableBloodSplatterParticleEffect () |
Public Attributes | |
| GameObject | standardHorizonalBulletPrefab |
| int | numStandardHorizonalBulletsToSpawn |
| bool | tagAsTurretBullets |
| Only really used for demo scenes - bullets can be made to use the layer for turret bullets, this is so that the demo scene player can have his/her own bullets that apply damage to the turrets, and the turrets can have their own bullets. More... | |
Static Public Attributes | |
| static ObjectPoolManager | instance |
| static List< GameObject > | standardHorizontalBulletObjectPool |
Main pooling singleton script for bullet / object pool usage.
The WeaponSystem will use this to retrieve re-usable bullets from defined bullet pools, allowing for faster performance when firing lots of bullets.
| GameObject ObjectPoolManager.GetUsableBeam1Bullet | ( | ) |
| GameObject ObjectPoolManager.GetUsableBeam2Bullet | ( | ) |
| GameObject ObjectPoolManager.GetUsableBeam3Bullet | ( | ) |
| GameObject ObjectPoolManager.GetUsableBeam4Bullet | ( | ) |
| GameObject ObjectPoolManager.GetUsableBeam5Bullet | ( | ) |
| GameObject ObjectPoolManager.GetUsableBeam6Bullet | ( | ) |
| GameObject ObjectPoolManager.GetUsableBloodSplatterParticleEffect | ( | ) |
| GameObject ObjectPoolManager.GetUsableSparkParticle | ( | ) |
| GameObject ObjectPoolManager.GetUsableSphereBullet | ( | ) |
| GameObject ObjectPoolManager.GetUsableStandardHorizontalBullet | ( | ) |
| GameObject ObjectPoolManager.GetUsableTurretBullet | ( | ) |
|
static |
| int ObjectPoolManager.numStandardHorizonalBulletsToSpawn |
| GameObject ObjectPoolManager.standardHorizonalBulletPrefab |
|
static |
| bool ObjectPoolManager.tagAsTurretBullets |
Only really used for demo scenes - bullets can be made to use the layer for turret bullets, this is so that the demo scene player can have his/her own bullets that apply damage to the turrets, and the turrets can have their own bullets.