MetaJUI v0.4 遇到的一些问题及解决办法记录

1、Unity3d 版本 2022.3.29f1。

2、MetaJUI v0.4 的下载,https://download.csdn.net/download/xingchengaiwei/89334848

3、将MetaJUI v0.4解压,用Unity3d 打开项目,会出现如下问题,按照图中提示操作即可。

4、打开工程后会出现如下错误提示。如:

4.1、Assets\3rd\InfiniteScroll\Scripts\Demo1.cs(4,19): error CS0234: The type or namespace name 'UI' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)

4.2、Assets\3rd\InfiniteScroll\Scripts\InfiniteScroll\InfiniteScroll.cs(10,7): error CS0246: The type or namespace name 'TMPro' could not be found (are you missing a using directive or an assembly reference?)

5、错误处理办法。

5.1、 选择Windows->Package Manger 弹出如下窗口,

5.2、下图的下拉框选中Packages:Unity Registry 在右侧的搜索框中输入unity ui ,点击install按钮。如下图。

5.3、在搜索框中输入 TextMeshPro ,点击install按钮。如下图。

5.4、没有错误提示了。

6、设置demo,选择Assets->3rd->InfiniteScroll->Scenes->Demo1 ->File->Build Settings->Add Open Scenes,Demo1、Demo2、Demo3、Demo4、Demo5依次操作如下图。

7、运行后效果。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

为风而战

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值