I wish create an assetbundle that contains some text files that are textassets into my project..
the strange thing is if I do this:
AssetBundleBuild buildInfo = new AssetBundleBuild {
assetBundleName = "textAssets.unity3d",
assetNames = new [] {"Assets/firstFile.txt"}};
}
it works and create an textAssets.unity3d with the file inside, but if I do this:
AssetBundleBuild buildInfo = new AssetBundleBuild {
assetBundleName = "textAssets.unity3d",
assetNames = new [] {"Assets/firstFile.txt", "Assets/secondFile.txt"}};
}
it doesn't work, seems that I need to create a assetbundle for each prefab/file.txt thanks for your help