Layer Info

  • By default, the layers are stored in the ProjectConstants.cs script file.

  • The project uses the following layers:

Road Layers

  • TrafficNode [20] : TrafficNode layer is used for TrafficNode prefab [required].

Object Layers

  • Ground [18] : ground surface layer, but you can use any custom ground layer you want if you set it in the Traffic cars for ground detection. [optional]

  • StaticPhysicsShape [22] : Static object layer collider layer (e.g. house, fence). [optional, only used for DOTS scenes]

  • Props [23] : collider layer of props (e.g. traffic light, hydrant, mailbox). [optional]

Misc Layers

  • TraficCar [16] : Traffic car layer. [demo scene only, optional]