|
Post by quickdraw on Apr 9, 2019 5:41:32 GMT
Hi!
I'm spawning a Prefab Pool, using Trigger Spawner V2 (Trigger Enter Event), also with Child Spawners - on entering the trigger area it spawns in the prefabs. However, when I've added Trigger Exit Event on the parent with Despawn checked, with a filter on both Trigger Events for the Player tag, it doesn't despawn them in the pool when I exit the trigger area. They still remain - any idea on what I'm doing wrong?
|
|
DarkTonic Dev
Administrator
Posts: 4,229
Posts: 4,229
Member is Online
|
Post by DarkTonic Dev on Apr 9, 2019 16:26:31 GMT
Well does the parent have a trigger (collider component)? If it doesn't, it will not work. If so, you might want to use Killable script instead to despawn it. It will also require using KillableChildCollision script on the child.
|
|