Located at: Assets\TurnTheGameOn\SimpleTrafficSystem\Resources\AITrafficSpawnPoint

Please note that the Mesh Renderer and Box Collider components attached to this prefab are required and used by the pooling system. This is an intentional design decision that was made in order to utilize the following built in Unity callbacks to check the bounds of a spawn point, and the visibility of the spawn point by the camera; if the collider bounds are empty and the mesh renderer is not visible by the camera, cars are allowed to spawn.

Links to builtin callbacks utilized by the AITrafficSpawnPoint component:

Last updated