unity 输入管理器怎么添加shift_Unity新版Package Manager如何下载被暂时移除的预览包...

v2-78fa8f301b0683fd53ce82d0452bd9c9_1440w.jpg?source=172ae18b

Unity最近从“Package Manager”移除了许多短期内不能体验其正式版功能的预览包,即便在高级选项中选择了显示Preview Package,我们也无法找到这些预览包。比如比如制作轻量级H5游戏的Tiny Mode。

如果我们希望在Unity中使用这些预览包进行学习、开发,我们该如何下载这些预览包呢。

1.先尝试在Unity默认的Preview包中寻找你需要的包

打开包管理器

v2-ffa976c902fa49ab989391cf6b2a7b15_b.jpg

点击右上角齿轮,选择Advanced Project Settings

v2-a3810942a9f172e83572a4d24366399b_b.jpg

勾选上显示预览包和显示依赖

v2-c383b23dd0794d280b675194300e0adf_b.jpg

这时我们再看包管理器,出现了许许多之前没有的预览包

v2-ee8edba0f0169692bef6a9c308219dd9_b.jpg

但此时我们会发现,还有许多我们曾经熟知的包并没有显示出来

果然,有些包是没有显示在包管理器中的。

2.手动载入包

点击左上角加号,我们会发现包管理器提供了三种手动加载包的方法。

v2-6960f17294b3b17d4e318c89c195bb2c_b.jpg

前两项很好理解,可以从本地加载相关包,但我们要下载的就是本地没有的包,那么我们选择第三项Add package form git URL

v2-df5eb07844b0b8254f332ca314447063_b.png

在弹出的输入框中,我呢输入我们需要下载的包地址即可

v2-c981bbd8988da78cf51104c63217a9df_b.jpg

这里我输入我需要的Tiny Mode包地址

v2-5427bd568ad836389e63b13fbddf9ea3_b.jpg

点击添加后,根据网络条件,我们稍等几秒,就会出现下载包的进度条

v2-fd5dcfab3989671345128ede65817432_b.jpg

等带进度条走完,我们就可以看到我们需要的包已经被安装好了

v2-f5c67dc7162fb22238391576802a884e_b.jpg

3.如何找到相应的包地址

一般来说,我们需要一个包的时候,该功能相应的文档、介绍中会说明需要的包名以及相应地址的,不然你是如何知道你需要这个包的?

这里,我从国外一个开发者同志@Jeff Lynch的文章中转载一下被unity从包管理器中移除的部分包的地址,大家根据地址名称的前后缀,基本能够看出它是什么包所对应的地址。

com.ptc.vuforia.engine
com.unity.2d.entities
com.unity.ai.planner
com.unity.aovrecorder
com.unity.assetbundlebrowser
com.unity.assetgraph
com.unity.barracuda
com.unity.barracuda.burst
com.unity.build-report-inspector
com.unity.cloud.userreporting
com.unity.collections
com.unity.connect.share
com.unity.dots.editor
com.unity.entities
com.unity.film-tv.toolbox
com.unity.google.resonance.audio
com.unity.immediate-window
com.unity.mathematics
com.unity.meshsync
com.unity.multiplayer-hlapi
com.unity.package-manager-doctools
com.unity.package-manager-ui
com.unity.package-validation-suite
com.unity.physics
com.unity.platforms
com.unity.platforms.android
com.unity.platforms.linux
com.unity.platforms.macos
com.unity.platforms.web
com.unity.platforms.windows
com.unity.playablegraph-visualizer
com.unity.render-pipelines.lightweight
com.unity.rendering.hybrid
com.unity.renderstreaming
com.unity.scene-template
com.unity.simulation.client
com.unity.simulation.core
com.unity.simulation.capture
com.unity.simulation.games
com.unity.standardevents
com.unity.streaming-image-sequence
com.unity.test-framework.performance
com.unity.tiny.all
com.unity.transport
com.unity.upm.develop
com.unity.vectorgraphics
com.unity.webrtc
com.unity.xr.googlevr.android
com.unity.xr.googlevr.ios
com.unity.xr.legacyinputhelpers
com.unity.xr.oculus.android
com.unity.xr.oculus.standalone
com.unity.xr.openvr.standalone
com.unity.xr.arsubsystems
com.unity.xr.interactionsubsystems
com.unity.xr.windowsmr.metrocom.ptc.vuforia.engine
com.unity.2d.entities
com.unity.ai.planner
com.unity.aovrecorder
com.unity.assetbundlebrowser
com.unity.assetgraph
com.unity.barracuda
com.unity.barracuda.burst
com.unity.build-report-inspector
com.unity.cloud.userreporting
com.unity.collections
com.unity.connect.share
com.unity.dots.editor
com.unity.entities
com.unity.film-tv.toolbox
com.unity.google.resonance.audio
com.unity.immediate-window
com.unity.mathematics
com.unity.meshsync
com.unity.multiplayer-hlapi
com.unity.package-manager-doctools
com.unity.package-manager-ui
com.unity.package-validation-suite
com.unity.physics
com.unity.platforms
com.unity.platforms.android
com.unity.platforms.linux
com.unity.platforms.macos
com.unity.platforms.web
com.unity.platforms.windows
com.unity.playablegraph-visualizer
com.unity.render-pipelines.lightweight
com.unity.rendering.hybrid
com.unity.renderstreaming
com.unity.scene-template
com.unity.simulation.client
com.unity.simulation.core
com.unity.simulation.capture
com.unity.simulation.games
com.unity.standardevents
com.unity.streaming-image-sequence
com.unity.test-framework.performance
com.unity.tiny.all
com.unity.transport
com.unity.upm.develop
com.unity.vectorgraphics
com.unity.webrtc
com.unity.xr.googlevr.android
com.unity.xr.googlevr.ios
com.unity.xr.legacyinputhelpers
com.unity.xr.oculus.android
com.unity.xr.oculus.standalone
com.unity.xr.openvr.standalone
com.unity.xr.arsubsystems
com.unity.xr.interactionsubsystems
com.unity.xr.windowsmr.metro
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值