Search Unity

Android Split Application Binary property?

Discussion in 'Scripting' started by ldaughtry, Dec 5, 2014.

  1. ldaughtry

    ldaughtry

    Joined:
    Oct 30, 2012
    Posts:
    38
    Hey all,

    Simple question. Where is property located for the android Split Application Binary option?

    We have a multiplatform build tool and I need to know how to toggle that on and off in script and can't for the life of me find where it's stored.
     
  2. Martin-S

    Martin-S

    Joined:
    Nov 19, 2012
    Posts:
    11
    I'm looking for this, too. Have you tried PlayerSettings.firstStreamedLevelWithResources?
     
  3. Querke

    Querke

    Joined:
    Feb 21, 2013
    Posts:
    54
    Hello, I am here to give you the answer:

    Step 1) Go to "Player Setting" ('File' > 'Build Settings' > 'Player Settings...' OR 'Edit' > 'Project Settings' > 'Player')
    - Then a new window in the "Inspector tab" opens up.
    Step 2) navigate to the "Publishing settings"-tab in 'Player settings'
    Step 3) Scroll down to the bottom and click on 'Split Application Binary' checkbox and voila.

    Now when you press build, Unity will give you two files: .apk anda .obb

    Hope this helps
     
  4. zyzyx

    zyzyx

    Joined:
    Jul 9, 2012
    Posts:
    227
    Last edited: Feb 11, 2015
    Deleted User and ScottyBoyDee123 like this.
  5. ScottyBoyDee123

    ScottyBoyDee123

    Joined:
    Mar 2, 2015
    Posts:
    3
    Just the information I needed, worked like a charm.

    Thanks, zyzyx :)
     
  6. zyzyx

    zyzyx

    Joined:
    Jul 9, 2012
    Posts:
    227
    Glad I could help :)
     
  7. ldaughtry

    ldaughtry

    Joined:
    Oct 30, 2012
    Posts:
    38
    Thanks so much!