Select to view content in your preferred language

GameObject layers

508
3
Jump to solution
02-18-2026 06:50 AM
PontusPersson
Occasional Contributor

Is there any way to set the gameobject layer for the terrain tiles?
I want to be able to cull the terrain for a specific camera.

0 Kudos
1 Solution

Accepted Solutions
MasonGaw
Regular Contributor

I can suggest it, but I am not aware of it being in the near future.

Mason

View solution in original post

3 Replies
MasonGaw
Regular Contributor

Hello,

Unfortunately, there is no way to change what layer the layer the map tiles are on. However, there is a workaround that is fairly simple, although somewhat tedious. The map tiles are created on the default layer, as are all gameobjects when added in the hierarchy or via spawning through code (unless otherwise specified). You could put all of your other gameobjects onto a different layer than the default, something like "game layer", so that the only thing on the default layer are the map tiles. This would allow you to still do what you want without having to change and edit the plugin code to change what layer the objects are on. 
Hope this helps,

Mason 

0 Kudos
PontusPersson
Occasional Contributor

Any plans to implement this in the feature? As you said placing every other object on another layer is pretty tedious and error prone.

0 Kudos
MasonGaw
Regular Contributor

I can suggest it, but I am not aware of it being in the near future.

Mason