Quantcast
Channel: Questions in topic: "count"
Viewing all articles
Browse latest Browse all 187

Count Prefabs on builded .apk

$
0
0
Hey, Is there any way to get a number of prefabs on a builded game? I know this will work in the Editor: var levelCount = Directory.GetFiles(Application.dataPath + "/Resources/Prefabs/", "Level_"+"*"+".prefab", SearchOption.AllDirectories).Length; But since the builded game does not contain the exactly arranged files, because they are merged, I cannot count the prefabs anymore.

Viewing all articles
Browse latest Browse all 187

Trending Articles



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