Create a symbolic link from inside the Android app's assets folder to its storage
<p>I'm working on an android app in which the user can play multiple Unity games. However, achieving this simple aspect has proven to be too complicated with Unity, if even possible. </p>

<p>After analyzing how Unity on Android works, I understood that it uses a bunch of libraries (called libmain.so, libunity.so and libmono.so), these three libraries refer to the code of the actual game which is stored inside the apk of the android app, specifically in "assets/bin/Data/" directory. The directory is hard-coded inside the code of the libraries, and everything in the libraries is legally prevented from being changed.</p>

<p>So, in order to allow the users to play multiple games, I thought that I could place the game that the user currently wants to play inside the "assets/bin/Data" directory, and so when the Unity libraries want to start the game, they will find it in "assets/bin/Data" and will start it. And then when the user wants to play another game, I simply replace the files of the old game in "asseets/bin/Data" with the files of the new game, and the Unity libraries will thus play the other game, and so on.</p>

<p><strong>However, this wouldn't work, because an android app is not allowed to modify its own apk.</strong></p>

<p>So, to solve this problem, I thought that I could put the files of the game to be played somewhere in the external or internal storage of the app, and then add a symbolic link (shortcut) to those files inside "assets/bin/Data".</p>

<p>That way, when the libraries of Unity want to play the game, they will go to the "assets/bin/Data" directory, where they will find shortcuts to the actual game in the app's storage, and since I can freely change the content of the app's storage, then I will be able to replace the game on demand.</p>

<p>My question is: Is it possible to create a symbolic link (shortcut) from the app's assets to the app's storage?? If yes, how??</p>

<p>If anything is unclear please ask me to elaborate</p>

<p>Thank you </p>