External Dependency Manager for Unity
========
# Overview
The External Dependency Manager for Unity (EDM4U)
(formerly Play Services Resolver / Jar Resolver) is intended to be used by any
Unity plugin that requires:
* Android specific libraries (e.g
[AARs](https://developer.android.com/studio/projects/android-library.html)).
* iOS [CocoaPods](https://cocoapods.org/).
* Version management of transitive dependencies.
* Management of Package Manager (PM) Registries.
Updated releases are available on
[GitHub](https://github.com/googlesamples/unity-jar-resolver)
# Background
Many Unity plugins have dependencies upon Android specific libraries, iOS
CocoaPods, and sometimes have transitive dependencies upon other Unity plugins.
This causes the following problems:
* Integrating platform specific (e.g Android and iOS) libraries within a
Unity project can be complex and a burden on a Unity plugin maintainer.
* The process of resolving conflicting dependencies on platform specific
libraries is pushed to the developer attempting to use a Unity plugin.
The developer trying to use you plugin is very likely to give up when
faced with Android or iOS specific build errors.
* The process of resolving conflicting Unity plugins (due to shared Unity
plugin components) is pushed to the developer attempting to use your Unity
plugin. In an effort to resolve conflicts, the developer will very likely
attempt to resolve problems by deleting random files in your plugin,
report bugs when that doesn't work and finally give up.
EDM provides solutions for each of these problems.
## Android Dependency Management
The *Android Resolver* component of this plugin will download and integrate
Android library dependencies and handle any conflicts between plugins that share
the same dependencies.
Without the Android Resolver, typically Unity plugins bundle their AAR and
JAR dependencies, e.g. a Unity plugin `SomePlugin` that requires the Google
Play Games Android library would redistribute the library and its transitive
dependencies in the folder `SomePlugin/Android/`. When a user imports
`SomeOtherPlugin` that includes the same libraries (potentially at different
versions) in `SomeOtherPlugin/Android/`, the developer using `SomePlugin` and
`SomeOtherPlugin` will see an error when building for Android that can be hard
to interpret.
Using the Android Resolver to manage Android library dependencies:
* Solves Android library conflicts between plugins.
* Handles all of the various processing steps required to use Android
libraries (AARs, JARs) in Unity 4.x and above projects. Almost all
versions of Unity have - at best - partial support for AARs.
* (Experimental) Supports minification of included Java components without
exporting a project.
## iOS Dependency Management
The *iOS Resolver* component of this plugin integrates with
[CocoaPods](https://cocoapods.org/) to download and integrate iOS libraries
and frameworks into the Xcode project Unity generates when building for iOS.
Using CocoaPods allows multiple plugins to utilize shared components without
forcing developers to fix either duplicate or incompatible versions of
libraries included through multiple Unity plugins in their project.
## Package Manager Registry Setup
The [Package Manager](https://docs.unity3d.com/Manual/Packages.html)
(PM) makes use of [NPM](https://www.npmjs.com/) registry servers for package
hosting and provides ways to discover, install, upgrade and uninstall packages.
This makes it easier for developers to manage plugins within their projects.
However, installing additional package registries requires a few manual steps
that can potentially be error prone. The *Package Manager Resolver*
component of this plugin integrates with
[PM](https://docs.unity3d.com/Manual/Packages.html) to provide a way to
auto-install PM package registries when a `.unitypackage` is installed which
allows plugin maintainers to ship a `.unitypackage` that can provide access
to their own PM registry server to make it easier for developers to
manage their plugins.
## Unity Plugin Version Management
Finally, the *Version Handler* component of this plugin simplifies the process
of managing transitive dependencies of Unity plugins and each plugin's upgrade
process.
For example, without the Version Handler plugin, if:
* Unity plugin `SomePlugin` includes `EDM4U` plugin at
version 1.1.
* Unity plugin `SomeOtherPlugin` includes `EDM4U`
plugin at version 1.2.
The version of `EDM4U` included in the developer's project depends upon the
order the developer imports `SomePlugin` or `SomeOtherPlugin`.
This results in:
* `EDM4U` at version 1.2, if `SomePlugin` is imported then `SomeOtherPlugin`
is imported.
* `EDM4U` at version 1.1, if `SomeOtherPlugin` is imported then
`SomePlugin` is imported.
The Version Handler solves the problem of managing transitive dependencies by:
* Specifying a set of packaging requirements that enable a plugin at
different versions to be imported into a Unity project.
* Providing activation logic that selects the latest version of a plugin
within a project.
When using the Version Handler to manage `EDM4U` included in `SomePlugin` and
`SomeOtherPlugin`, from the prior example, version 1.2 will always be the
version activated in a developer's Unity project.
Plugin creators are encouraged to adopt this library to ease integration for
their customers. For more information about integrating EDM4U
into your own plugin, see the [Plugin Redistribution](#plugin-redistribution)
section of this document.
# Analytics
The External Dependency Manager for Unity plugin by default logs usage to Google
Analytics. The purpose of the logging is to quantitatively measure the usage of
functionality, to gather reports on integration failures and to inform future
improvements to the developer experience of the External Dependency Manager
plugin. Note that the analytics collected are limited to the scope of the EDM4U
plugin’s usage.
For details of what is logged, please refer to the usage of
`EditorMeasurement.Report()` in the source code.
# Requirements
The *Android Resolver* and *iOS Resolver* components of the plugin only work
with Unity version 4.6.8 or higher.
The *Version Handler* component only works with Unity 5.x or higher as it
depends upon the `PluginImporter` UnityEditor API.
The *Package Manager Resolver* component only works with
Unity 2018.4 or above, when
[scoped registry](https://docs.unity3d.com/Manual/upm-scoped.html)
support was added to the Package Manager.
# Getting Started
Before you import EDM4U into your plugin project, you first
need to consider whether you intend to *redistribute* `EDM4U`
along with your own plugin.
## Plugin Redistribution
If you're a plugin maintainer, redistributing `EDM4U` inside your own plugin
will ease the integration process for your users, by resolving dependency
conflicts between your plugin and other plugins in a user's project.
If you wish to redistribute `EDM4U` inside your plugin,
you **must** follow these steps when importing the
`external-dependency-manager-*.unitypackage`, and when exporting your own plugin
package:
1. Import the `external-dependency-manager-*.unitypackage` into your plugin
project by
[running Unity from the command line](https://docs.unity3d.com/Manual/CommandLineArguments.html), ensuring that
you add the `-gvh_disable` option.
1. Export your plugin by [running Unity from the command line](https://docs.unity3d.com/Manual/CommandLineArguments.html), ensuring that
you:
- Include the contents of the `Assets/PlayServicesResolver` and
`Assets/ExternalDependencyManager` directory.
- Add the `-gvh_disable` option.
You **must** specify the `-gvh_disable` option in order for the Version
Handler to work correctly!
For example, the following command will i
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
MonkeySwing 猴子秋千Unity可爱的猴子休闲降落游戏项目源码C# 支持Unity版本2021.3.20f1及以上 故事 由于全球迅速变暖,塔鲁岛的难民猴子面临食物短缺的危险。 为了填饱塔鲁岛猴子的肚子,你不得不冒着生命危险,直接进入永远无法活着回来的“死亡森林”获取食物。 MK难民组织代表“Sunsungi”决定带头拯救岛上的猴子。为了拯救饥饿的难民猴子,他进行了一次危险的冒险。 1.挑战最佳纪录! 穿越无尽地狱森林,创下最高记录,让难民猴发财致富! 2.实时竞技排名! 超越你自己的记录,打破Sungungi在世界另一边的记录! Sungsungi没有极限! 你可以通过排名赛与其他玩家一较高下。 3. 10种不同的可爱皮肤! 装饰你自己的sungungi! 从简单的颜色变化到各种概念! 怎么玩 1. 玩家左右移动控制栏降落方向。 2. 当3条生命(心)全部耗尽时,游戏结束。 3. 游戏结束后,将获得的香蕉(物品)送给收容所的猴子, 4. 根据猴子下降的距离,测量分数并显示在结果窗口中。
资源推荐
资源详情
资源评论
收起资源包目录
MonkeySwing 猴子秋千Unity可爱的猴子休闲降落游戏项目源码C# (2000个子文件)
libFirebaseCppApp.a 45.56MB
libFirebaseCppApp.a 23.11MB
libFirebaseCppDatabase.a 14.03MB
libFirebaseCppAuth.a 13.05MB
libFirebaseCppDatabase.a 7.17MB
libFirebaseCppAuth.a 6.58MB
unity-plugin-library.a 2.5MB
com.google.firebase.firebase-app-unity-11.3.0.aar 2.86MB
com.google.firebase.firebase-auth-22.1.0.aar 997KB
com.ironsource.sdk.mediationsdk-7.2.5.aar 853KB
androidx.core.core-1.2.0.aar 690KB
com.google.android.gms.play-services-nearby-18.5.0.aar 662KB
com.google.android.gms.play-services-base-18.2.0.aar 568KB
com.google.android.gms.play-services-drive-17.0.0.aar 507KB
com.google.firebase.firebase-database-20.2.2.aar 476KB
com.google.android.recaptcha.recaptcha-18.1.2.aar 416KB
com.google.android.gms.play-services-basement-18.2.0.aar 394KB
com.google.android.gms.play-services-games-21.0.0.aar 374KB
com.google.android.gms.play-services-measurement-impl-21.3.0.aar 374KB
com.google.android.gms.play-services-measurement-21.3.0.aar 350KB
com.google.android.gms.play-services-auth-base-18.0.4.aar 297KB
com.google.android.gms.play-services-fido-20.0.1.aar 291KB
com.google.android.gms.play-services-measurement-base-21.3.0.aar 230KB
com.google.android.gms.play-services-auth-20.5.0.aar 209KB
androidx.browser.browser-1.4.0.aar 198KB
androidx.fragment.fragment-1.0.0.aar 153KB
com.google.android.play.integrity-1.1.0.aar 132KB
com.google.firebase.firebase-auth-unity-11.3.0.aar 125KB
com.google.android.gms.play-services-measurement-sdk-api-21.3.0.aar 98KB
com.google.android.gms.play-services-measurement-api-21.3.0.aar 86KB
com.google.firebase.firebase-database-unity-11.3.0.aar 84KB
com.google.firebase.firebase-common-20.3.3.aar 74KB
com.google.android.gms.play-services-measurement-sdk-21.3.0.aar 73KB
com.google.android.gms.play-services-tasks-18.0.2.aar 72KB
googlemobileads-unity.aar 71KB
androidx.viewpager.viewpager-1.0.0.aar 52KB
com.google.games.gpgs-plugin-support-0.10.14.aar 51KB
androidx.coordinatorlayout.coordinatorlayout-1.0.0.aar 43KB
com.google.firebase.firebase-installations-17.0.1.aar 41KB
androidx.loader.loader-1.0.0.aar 33KB
androidx.customview.customview-1.0.0.aar 32KB
androidx.swiperefreshlayout.swiperefreshlayout-1.0.0.aar 32KB
androidx.drawerlayout.drawerlayout-1.0.0.aar 32KB
com.google.firebase.firebase-components-17.1.0.aar 31KB
androidx.versionedparcelable.versionedparcelable-1.1.0.aar 30KB
com.google.firebase.firebase-database-collection-18.0.1.aar 25KB
androidx.slidingpanelayout.slidingpanelayout-1.0.0.aar 23KB
com.google.android.gms.play-services-ads-identifier-18.0.0.aar 20KB
com.google.android.gms.play-services-auth-api-phone-18.0.1.aar 17KB
androidx.print.print-1.0.0.aar 15KB
com.google.android.gms.play-services-stats-17.0.2.aar 14KB
com.google.firebase.firebase-auth-interop-20.0.0.aar 12KB
androidx.legacy.legacy-support-core-ui-1.0.0.aar 11KB
androidx.documentfile.documentfile-1.0.0.aar 11KB
com.google.firebase.firebase-measurement-connector-19.0.0.aar 10KB
androidx.cursoradapter.cursoradapter-1.0.0.aar 10KB
androidx.lifecycle.lifecycle-livedata-2.0.0.aar 9KB
androidx.lifecycle.lifecycle-runtime-2.0.0.aar 9KB
androidx.lifecycle.lifecycle-livedata-core-2.0.0.aar 8KB
androidx.asynclayoutinflater.asynclayoutinflater-1.0.0.aar 8KB
androidx.interpolator.interpolator-1.0.0.aar 7KB
androidx.localbroadcastmanager.localbroadcastmanager-1.0.0.aar 7KB
androidx.lifecycle.lifecycle-viewmodel-2.0.0.aar 7KB
com.google.firebase.firebase-installations-interop-17.0.1.aar 6KB
androidx.arch.core.core-runtime-2.0.0.aar 5KB
com.google.firebase.firebase-appcheck-interop-17.0.1.aar 5KB
androidx.legacy.legacy-support-core-utils-1.0.0.aar 4KB
com.google.firebase.firebase-analytics-21.3.0.aar 811B
LiberationSans SDF.asset 2.15MB
LiberationSans SDF - Fallback.asset 531KB
ProjectSettings.asset 24KB
EmojiOne.asset 13KB
InputManager.asset 10KB
QualitySettings.asset 7KB
Default Style Sheet.asset 5KB
GraphicsSettings.asset 2KB
Physics2DSettings.asset 2KB
TMP Settings.asset 2KB
NavMeshAreas.asset 1KB
DynamicsManager.asset 1KB
EditorSettings.asset 1KB
MemorySettings.asset 1KB
TagManager.asset 1KB
PackageManagerSettings.asset 1KB
UnityConnectSettings.asset 1004B
MonkeyCloud.asset 712B
MonkeyHeart.asset 710B
MonkeyShine.asset 710B
MonkeyBasic.asset 710B
MonkeyPink.asset 709B
MonkeyYellow.asset 709B
MonkeyBlue.asset 709B
EditorBuildSettings.asset 674B
TimelineSettings.asset 436B
AudioManager.asset 413B
VFXManager.asset 353B
TimeManager.asset 202B
VersionControlSettings.asset 188B
XRSettings.asset 158B
NetworkManager.asset 151B
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
小云同志你好
- 粉丝: 1047
- 资源: 931
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功