|
I have a scene in Unity that is exported as a package using the following code: When I load the package during runtime, I use a WWW like this: I want to retrieve the terrain from the scene. In Unity, the terrain is just called "island_terrain" and is part of the scene which is packaged above. How would I go about getting the terrain GameObject/Component?
(comments are locked)
|
Heh, turns out this wasn't working for me because my GetComponent call had a lowercase t in Terrain, so it was returning null. It works now. Thanks!
Aug 29 '12 at 06:09 PM
lukegravitt
(comments are locked)
|

I was eventually able to get it to work by doing
but I still feel this is suboptimal.