Search Unity

Reading files from NSApplicationSupportDirectory

Discussion in 'iOS and tvOS' started by dave_oak, Feb 5, 2018.

  1. dave_oak

    dave_oak

    Joined:
    Oct 7, 2015
    Posts:
    26
    I'm porting a game from Adobe AIR to Unity and I want the update to be able to read the saved data from the previous version.

    AIR stores saved data in the Application Support folder, which is not exposed through the Unity Application class.

    I suspect a small plugin is required to return the string from the native function
    URLsForDirectory:NSApplicationSupportDirectory but I have no experience in this area.

    Can anyone help with the relevant function or an alternative approach?