loading prefabs

So I'm not at this point of my project yet, but I needed to ask because it's been bugging me:

So I've been reading things about how when making an iphone game in unity, every asset should be loaded at the very beginning to avoid hitching.. Does that apply to environment assets a well? For example, if I have a sidescroller game and the character passes by a tree every 5 seconds, do I only have to load this tree once and reposition it in the scene relative to where the main character is? And if so, what is the best way to code such a thing?

Any help is appreciated, thx

1 Answer

1

Well...I guess you can use for example triggers. Pass the GameObject to move, an Empty in place where you want to move the GameObject. Maybe the more simple idea work, think about the user of triggers...

alt text

In my game I did something like this, I use triggers to move the camera to specific positions (the cyan rectangles pointing to an empty)