Using AngryBotsAssetsScriptsManagersSpawner.js from Unity's AngryBots demo to store multiple prefabs into different caches to avoid slowdowns. Limiting this example to two caches for simplicity.
cache01 holds prefab of player fire objects. (Simplebullet.js is close enough, for example.) cache02 contains prefab of target objects. (Uses OnEnable() for random placement and vectoring.)
...is tempting, but results in "Trying to Invoke method: Spawner.Spawn couldn't be called.". And would spawn from both caches if it did work if I following the logic properly.
Spawning the player's fire is meant to be on demand. Spawning/Despawning from the target cache is to be continuous until levelEnd conditions are reached. (Timer in this example.)
How do I spawn from a single cache, basically within a container cache, without causing all to activate? Or am I going to have to brute force my way with SpawnTarget() and SpawnFire()? (Which seems like a bit of overhead as the number of caches increases.)