Target-dependant gameobject exclusion

Hello everyone :slight_smile:

In unity, there’s the BuildPipeline.BuildPlayer method…
I was wondering wether this ( or something else in the buildPipeline class ) were able to exclude gameObjects from the build just like with the ‘EditorOnly’ tag but with a custom tag like for example ‘AndroidOnly’ ?

does anyone know what is behind the scenes for EditorOnly tag ?

Thx for your answers :slight_smile:

Bump ???

Anyone could please give me some clues on this ? :confused:

Thanks a lot !