Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Blog
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
Unwatch
Watching
Releases Only
Ignoring
2
Star
1
Fork
0
胡正强
/
HGUI2
Code
Issues
0
Pull Requests
0
Wiki
Insights
DevOps
Gitee Go
Baidu Efficiency Cloud
Tencent CloudBase
Tencent Cloud Serverless
Jenkins for Gitee
Service
Gitee Pages
JavaDoc
PHPDoc
Quality analysis
CodeSafe
Gitee Scan
Don’t show this again
Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Already have an account?
Sign in
Back
master
Manage
Manage
Branches (1)
Tags (34)
master
1.1.35
1.1.34
1.1.31
1.1.30
1.1.29
1.1.28
1.1.27
1.1.26
1.1.25
1.1.24
1.1.23
1.1.22
1.1.21
1.1.20
1.1.19
1.1.18
1.1.17
1.1.16
1.1.15
1.1.14
1.1.13
1.1.12
1.1.11
1.1.10
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
Clone or download
HTTPS
SSH
SVN
SVN+SSH
Copy
Download ZIP
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register
File
New file
Upload file
Search
Web IDE
Branches 1
Tags 34
胡正强
fix
dd18462
292 commits
Commit
Cancel
Notice:
Creating folder will generate an empty file .keep, because not support in Git
AssetsBundle
Save
Cancel
Documentation
Save
Cancel
Editor
Save
Cancel
Runtime
Save
Cancel
Tests
Save
Cancel
AssetsBundle.meta
Save
Cancel
CHANGELOG.md
Save
Cancel
CHANGELOG.md.meta
Save
Cancel
Documentation.meta
Save
Cancel
Editor.meta
Save
Cancel
HGUI.xml
Save
Cancel
HGUI.xml.meta
Save
Cancel
LICENSE.md
Save
Cancel
LICENSE.md.meta
Save
Cancel
README.md
Save
Cancel
README.md.meta
Save
Cancel
Readme.asset
Save
Cancel
Readme.asset.meta
Save
Cancel
Runtime.meta
Save
Cancel
Tests.meta
Save
Cancel
package.json
Save
Cancel
package.json.meta
Save
Cancel
Loading...
README.md
HGUI
介绍
HGUI升级版,UI元素移除MonoBehaviour
软件架构
软件架构说明
安装教程
打开工程的下的文件Packages/manifest.json
添加对应的版本包,例如 "dependencies": { "com.huqiang.hguiframework": "
https://gitee.com/huqiang0204/hgui2.git#1.1.27
" }
打包时注意事项,请确保ProjectSetting面板 Graphics中添加了Shader HGUI/UIDef,否则移动端会报错
使用说明
首先在你的Editor界面编辑你的UI
在canvas上面添加TestPageHelper,或其子类
将你的AssetBundle打包至StreamingAssets文件夹中,打包的UI需要关联AssetBundle中的资源
点击TestPageHelper的Inspector面板中的create按钮,UI数据包将默认生成在AssetsBundle文件夹中
生成成功会得到一个bytes文件,具体使用看我demo,在app中
将bytes数据加载到管理器HGUIManager.LoadModels(baseUI.bytes, "baseUI");
异步加载你的相关Assetbundle,完毕后加载页面 ElementAsset.LoadAssetsAsync("base.unity3d").PlayOver = (o, e) => { UIPage.LoadPage(); };
或者你没有AssetBundle,可以直接加载页面UIPage.LoadPage();
UI管理方面有自己的回收池,切换界面使用UIPage.LoadPage即可
视频教程地址
https://space.bilibili.com/19050274/video
不定期更新
函数文档
https://huqiang0204.gitee.io/home
注释使用请将PackageCache\com.huqiang.hguiframework@...\HGUI.xml复制到Library\ScriptAssemblies\文件夹中
参与贡献
Fork 本仓库
新建 Feat_xxx 分支
提交代码
新建 Pull Request
码云特技
使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
码云官方博客
blog.gitee.com
你可以
https://gitee.com/explore
这个地址来了解码云上的优秀开源项目
GVP
全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
码云官方提供的使用手册
https://gitee.com/help
码云封面人物是一档用来展示码云会员风采的栏目
https://gitee.com/gitee-stars/
Comments (
0
)
Loading...
Sign in
for post a comment
Report
Report success
We will send you the feedback within 2 working days through the letter!
Please fill in the reason for the report carefully. Provide as detailed a description as possible.
Type
Please select a report type
Reason
Cancel
Send
About
HGUI升级版,UI元素脱离MonoBehaviour
spread
retract
Save
Cancel
Releases
(12)
All
HGUI
Contributors
All
Activities
load more
can not load any more
1
https://gitee.com/huqiang0204/hgui2.git
git@gitee.com:huqiang0204/hgui2.git
huqiang0204
hgui2
HGUI2
master
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
See more results
Share to
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register
Comments ( 0 )