Home > other >  How the Unity in the android environment obtain StreamingAssets all child files in the directory?
How the Unity in the android environment obtain StreamingAssets all child files in the directory?

Time:03-25

How do the Unity in the android environment obtain StreamingAssets all child files in the directory?

Pack out a APK now, I want to get the StreamingAssets folder under the names of all the subfolders, who had tried?

Now with the two methods can only read the success in the PC environment, access to the android environment failure,

DirectoryInfo direction=new DirectoryInfo (fullPath);
The FileInfo files []=direction. GetFiles (" * ", SearchOption. AllDirectories);

String [] filess=Directory. GetFileSystemEntries (fullPath);
  • Related