Search Unity

Git submodule plugin folder structure

Discussion in 'Formats & External Tools' started by Nicolas-L-Boxit, Sep 29, 2016.

  1. Nicolas-L-Boxit

    Nicolas-L-Boxit

    Joined:
    Jun 4, 2013
    Posts:
    22
    Currently my unity project is versioned git. I am also using several third party plugins which I am importing manually, so I was thinking about the possibility of adding as git submodules. The problem is that the plugin has support for multiple platforms (android, ios, wp8), leading to a folder structure problem. Git just let me add the submodule in an exclusive folder for it,
    Code (CSharp):
    1. Assets/Plugins/ThirdPartyPlugin
    My plugin folder structure looks like this
    Code (CSharp):
    1. /Lib/*.scripts
    2. /Plugins/Android/*.jars
    3. /Plugins/WP8/*.dlls
    4. /Plugins/IOS/*.assets
    As you can see, i have assets in specific-platform folders too, coming into conflict with the principle of git submodule of having an exclusive folder. Unity as far as i know, does not support multiple specific-platform plugin folders.

    Any ideas how to make this work?
     
  2. Nicolas-L-Boxit

    Nicolas-L-Boxit

    Joined:
    Jun 4, 2013
    Posts:
    22
  3. gladieweb

    gladieweb

    Joined:
    Sep 7, 2012
    Posts:
    8