Hello,
I want to be able to load a generic file as resource so it can be automatically loaded from package or path.
More or less like XMLFile, Image, JSONFile but an unknown type for Urho3D.
Is that possible without creating a custom Resource class?
Something like that:
ResourceCache* cache = GetSubsystem<ResourceCache>();
File* file_txt = cache->GetResource<File>("CustomFiles/Test.txt");
File* file_bin = cache->GetResource<File>("CustomFiles/Test.bin");
I want to be able to Read, Seek, Tell, …basic IO operations.