Pass through files from project hierarchy to XCode

Is there an official way to pass through data files from the project hierarchy to XCode? I’m making a plugin that needs to load compressed image files, and I don’t want to go through a Texture2D for performance and cleanness reasons.

Alternatively, can I access files in a “Resources” folder as binary data? If so, what’s the performance cost of marshalling relatively large chunks of data to a plugin?

Thanks :slight_smile:

Anyone?

In iphone 1.x, you put them into the iPhoneStreamingAssets folder thats next to the assets and library folder

as per u3 b5+, that folder is gone and replaced with a streaming assets folder thats within the Assets folder that serves the purpose.

that are on only folders that go through 1 : 1, anything else is either part of the resource bundles after building or ignored

Just keep in mind for your plugin though that you can’t pass such data back into unity so if you use them as a replacement for texture2d, it will not work out unless you have an ogl context outside unity to use it