Quantcast
Channel: Questions in topic: "loadleveladditive"
Viewing all articles
Browse latest Browse all 102

Passing variables to LoadLevelAdditiveAsync

$
0
0
Im currently looking at using LoadLevelAdditiveAsync to improve loading the large tiled city i dynamically generate by streaming the tiles as the player moves around. My idea is to have a single scene with a gameobject/script that instantiates the required prefab and sets the tiles rotation(the same tile can have 4 positions) and position plus, any additional street decoration. I would then call that scene with LoadLevelAdditiveAsync but the problem is how do I pass the prefab/rotation/postion info. Any ideas?

Viewing all articles
Browse latest Browse all 102

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>