简体   繁体   English

Unity Android libs文件夹

[英]Unity Android libs folder

There is a standard way to build Unity applications for Android - to put all jars, manifests and resources in Assets/Plugins/Android forlder. 有一种标准方法可以为Android构建Unity应用程序-将所有jar,清单和资源放入Assets / Plugins / Android forlder中。

But we want to componentize or project and to put all staff, related to the certain component, to the folder such as Assets/Packages/Component1/Android 但是我们要进行组件化或投影,并将与某个组件相关的所有人员放到文件夹中,例如Assets / Packages / Component1 / Android

Is there a way to do this with the latest Unity version? 有没有办法使用最新的Unity版本来做到这一点?

Unity recognizes Plugins folders wherever they are. Unity可以识别任何位置的Plugins文件夹。 So, if this is what you want, you can put your stuff into Assets/Packages/Component1/Plugins/Android and put all of those libs there. 因此,如果这是您想要的,则可以将内容放入Assets / Packages / Component1 / Plugins / Android中 ,并将所有这些库放在那里。

Example hierarchy may be. 示例层次可以是。

Assets/Packages/Component1/Scripts - all of the c# scripts here Assets/Packages/Component1/Plugins/Android - android libs here Assets/Packages/Component1/Plugins/iOS - ios libs here 资产/包/组件1 /脚本 -此处的所有c#脚本资产/包/组件1 /插件/ Android-此处的android libs 资产/包/组件1 /插件/ iOS-此处的ios库

etc... 等等...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM