External Included files

I have searched the forums and documentation for this, but can’t seem to find it, there are files I want to include with the build that are not to be ‘in’ the build but as part of the distribution. Sort of like custom DLL’s that get to ride along with the build and when the folder for the build is created, it places those items in that folder.

I thought (some cobwebs in my brain) that there is a special folder that we create in the assets folder which is used for us to place items (like XML files or DB files or what ever) and when we build the package, that is included with the package.

What was the name of that folder? Or am I just going crazy.

1 Like

That’s a Resources folder, and you then load objects as needed via the Resources class.

So basically, I place all external files like XML, DB, custom package files, ets in a folder within the proejct folder and call this folder “Resources” but not place it under the “Assets” folder, then I can utilize the items in this folder since they will be copied in such a way that on deployment they are with the package and external to the actual binary build?

I use a resources folder immediately under Assets.

As gutripper said, the Resources folder needs to be in your assets folder. It is a special folder. The contents will be included in your build even if you do not use them.

They are not external and visible in a standalone build, and in most cases you wouldn’t want them to be.

I think what you are looking for is a post-process event that automatically happens when you build your project.

Check this out:
http://forum.unity3d.com/viewtopic.php?t=6309&highlight=perl+postprocess

Specifically, this clever guys website :wink: :

1 Like

Thank you for the suggestions, looking into them.
-zumwalt