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.
↧