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

相关推荐
不吃斋的和尚39 分钟前
Unity HDRP管线用ShaderGraph还原Lit,方便做拓展;
unity·游戏引擎
benben04418 小时前
Unity3D仿星露谷物语开发34之单击Drop项目
游戏·ui·unity·游戏引擎
benben0441 天前
Unity3D仿星露谷物语开发33之光标位置可视化
游戏·ui·unity·游戏引擎
张屿秋1 天前
在Unity中,如果物体上的脚本丢失,可以通过编写一个自定义编辑器脚本来查找并删除这些丢失的组件
unity·编辑器·游戏引擎
闪电麦坤952 天前
Unity:Simple Follow Camera(简单相机跟随)
unity·游戏引擎
一个程序员(●—●)2 天前
xLua环境控制+xLua的Lua调用C#的1
开发语言·unity·c#·lua
帮帮志2 天前
05.unity 游戏开发-3D工程的创建及使用方式和区别
3d·unity·游戏引擎
闪电麦坤952 天前
Unity:标签(tags)
unity·游戏引擎
GoMaxAi2 天前
智能体(Agent)系统源码解析:AI 自动化办公的未来
人工智能·unity·自动化
闪电麦坤952 天前
Unity:销毁(Destroy)
unity·游戏引擎