Android AssetManager - Case sensitive/
Members - Reputation: 534
Posted 26 October 2012 - 09:05 AM
this works fine, if the fixedName that is passed in has the same case as the file stored in the apk... how can i make it so that i can pass in a lower case name and have the file be stored as camelcase ( or whatever i want. )
or do i have to basically settle on every asset being saved on hard disk in one format, and loading that asset in the same format?
Moderators - Reputation: 25493
Posted 26 October 2012 - 11:11 AM
If the underlying file system is not case sensitive -- such as a FAT-formatted SD card -- then any case will work.
If the underlying file system is case sensitive -- which many device file systems are -- then your case must match.
Edited by frob, 26 October 2012 - 11:12 AM.
Check out my book, Game Development with Unity, aimed at beginners who want to build fun games fast.
Also check out my personal website at bryanwagstaff.com, where I write about assorted stuff.