mac standalone folder structure

Hi there

I’m taking screenshots in my unity app and storing them in a “screenshot” folder. On Windows standalone app I just create a “screenshot” folder in my Data directory and it works perfectly. I cant seem to find out how this works on a mac? Sorry, I do most of my unity work in Windows, any help appreciated!

it works on osx too just that the osx app is in reality a folder and your binary of the app is 2 level deep into that.
You will need to send it upwards first through appending “…/…/” into the path after application.datapath

Thanks Dreamora

So I can’t visually see the folder? That is a pitty, since I need my client to upload images of their own also.

You can

Just rightclick the app and select ‘open package’

its internally build as seen below with the - and – being sub and subsub folder of the next higher folder in hierarchy above them

Application.app

  • Contents
    – Resources (stuff like additional assemblies etc)
    – MacOS (this is where the app binary is in)

cool, thanks a lot