So I’m trying to create a terrain using code, and I’m running into a bit of an issue. Everytime I create a new terrain piece… it seems to set it as active, but I just want that terrain there, not active. How can I set a particular terrain as active?
On a different but not unrelated note, I’m trying to set neighbors for a terrain, but I need to create a terrain using Terrain.CreateTerrainGameObject() which gives me a gameobject, which can’t be casted back to a terrain, while the setneighbors requires Terrain objects. How can I get the Terrain object for the newly created terrain game object?