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

相关推荐
WarPigs7 小时前
Unity在Create菜单添加创建自定义脚本模板选项
unity
淡海水12 小时前
02-01-原理篇-Mark-Sweep与变种算法
算法·unity·c#·游戏引擎·.net·gc
babywang012 小时前
Unity笔记--塔防游戏中的ECS架构:从原理到实战的全面解析
unity·ecs架构
babywang02 天前
Unity笔记--AssetBundle详解
unity·游戏引擎
淡海水2 天前
01-04-认知篇-Unity内存全景
unity·c#·游戏引擎·.net·gc
598866753@qq.com2 天前
Codex与Unity
unity·游戏引擎
淡海水2 天前
01-03-认知篇-C#内存模型深度解析
unity·c#·游戏引擎·.net·gc
淡海水3 天前
16-02-C#常用数据结构源码-附录B-源码索引速查
unity·c#·游戏引擎·il2cpp
警醒与鞭策3 天前
【无标题】
android·unity·性能优化·游戏引擎·perforce
zhchyun20083 天前
【Unity UI 进阶】仿 Element UI 打造企业级 Unity UI 组件库(10)
ui·unity·游戏引擎