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、运行后效果。

相关推荐
benben0441 小时前
Unity3D仿星露谷物语开发44之收集农作物
前端·游戏·unity·游戏引擎
动感光博2 小时前
Unity(URP渲染管线)的后处理、动画制作、虚拟相机(Virtual Camera)
开发语言·人工智能·计算机视觉·unity·c#·游戏引擎
MWHLS9 小时前
【以及好久没上号的闲聊】Unity记录8.1-地图-重构与优化
unity·开源
WarPigs21 小时前
Unity光照笔记
笔记·unity·游戏引擎
神码编程1 天前
【Unity】 HTFramework框架(六十五)ScrollList滚动数据列表
unity·游戏引擎·ugui
DanmF--1 天前
Protobuf工具
网络·unity·游戏引擎·游戏程序
敲代码的 蜡笔小新1 天前
【行为型之迭代器模式】游戏开发实战——Unity高效集合遍历与场景管理的架构精髓
unity·设计模式·c#·迭代器模式
敲代码的 蜡笔小新2 天前
【行为型之命令模式】游戏开发实战——Unity可撤销系统与高级输入管理的架构秘钥
unity·设计模式·架构·命令模式
驰愿2 天前
ET EntityRef EntityWeakRef 类分析
unity·et
敲代码的 蜡笔小新3 天前
【行为型之中介者模式】游戏开发实战——Unity复杂系统协调与通信架构的核心秘诀
unity·设计模式·c#·中介者模式