Question by
TheHoester · May 05, 2018 at 08:52 PM ·
gameobjecteditorperformanceefficiencyloading during runtime
Omit Certain GameObjects From Loading At Runtime
I have hundreds of game objects that are used in editor to customize the locations of enemy spawns within our game level. Once the spawn location has been set in Editor the game objects are no longer needed when the game is running. Unity is still taking some time to load these objects in when the level loads.
What I would like to do is to mark the spawn points as an object that is only used in editor and therefore wont be loaded by the level or included in builds. Is there anyway to do this?
Alternatively is there any way to create a marker in editor that is not a gameobject that will provide me with position and rotation data and will not be loaded at runtime and will be discarded for builds?
Comment