-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please help me with some tutorial of GUI system #7
Comments
Hello, I made a Demo project, it should be able to help you, |
Hi @GaoKaiHaHa ! And In MainWindow or ShopWindow, I see Object List, Bg Mask and UI Root, I just think maybe they made by automatic or some way? Do we need drag and drop them with the mouse? And If I try to make New UI Prefab like MainWindow (By clone it), System.Exception: RecourcesConfigManager GetBundleConfig : Dont find ->MainWindow1<- please check BundleConfig! I try to look at Window menu but sorry it is china language so I can not find where to action. If would be great if you can have small video or quick note step by step how to make UI prefab. Thank again, you make big work for me, I am very happy when seeing Demo work! |
Hi! I can now answer myself how to update BundleConfig by press the first button to refresh UI folder and press the second button to recreate BundleConfig. Now can you write simple note step by step to create UI Prefab and basic about the rule to follow? Thank so much! |
hi I am currently working on a wiki for this project. At present, I have completed some of the documents you requested and I will make up as soon as possible. |
Hi! |
Hi! |
Hi @GaoKaiHaHa ! P/S: It would be great if you can list all china label into excel or text file, then we can google translate and then can understand a bit. By the way, your wiki is awesome!!! |
hi! If you create a button, you need to make sure the name of the button is different from the names of the other UI in your UIWindow, and then drag it to the UIWindow's ObjectList.Then you can use it in UIWindow using the AddOnClickListener or GetButton methods. UIWindow API I will fill in the wiki. |
Hi! Unable to open archive file: /Users/imac/Downloads/MyUnityFrameWork-master 4/Assets/StreamingAssets/ResourcesManifest.assetBundle NullReferenceException: Object reference not set to an instance of an object |
If you want to use AssetsBundle, you need to first package your assets into AssetsBundle the specific method is in Window->打包设置编辑器 (package settings editor) ->自动添加Resource目录下的资源并保存 (automatically add resources under the Resource directory and save) ->打包 (package) After you update your resources, remember to re-package your AssetsBundle, If you think the whole package time is too long, you can individually package a resource I recommend using Resource mode during development and AssetsBundle mode at release time |
Thank so much! Follow your help, I just press 打包 (package) and it was done! Thank so much, I just a newbie in unity and your Framework helps me much! |
Yes, if we use AssetsBundle mode, after the package is complete, we should delete the Resources folder, I recommend the use of the renamed method, Change Resources to _Resources, The main difference between these two methods is that one can hot Update the resources, and the other can not, the application of the startup speed and loading speed are also different |
I can use Assets Bundle option, change Resources to_Resources, and it works well on the editor with platform switch to Android. |
That may be an error, you left and right hand while pressing the 6 fingers on the screen, check the console output |
Hi @GaoKaiHaHa |
I just found why sometimes app run and sometimes I cannot run on the device if I check use assets bundle. 12-04 09:37:55.506 13485-13510/? E/Unity: The file can not be loaded because it was created for another build target that is not compatible with this platform.
12-04 09:37:55.506 13485-13510/? E/Unity: The AssetBundle 'ResourcesManifest.assetBundle' can't be loaded because it was not built with the right version or build target.
12-04 09:37:55.602 13485-13510/? E/Unity: NullReferenceException: Object reference not set to an instance of an object
|
When you build an AssetsBundle on a PC platform, the Bundle you typed is not available on Android You need to switch to the Android platform to package |
Hi!
I just found this is an awesome framework to start with!
I need a small tutorial or sample to understand how UIWindowBase works.
Would you please quick note how to make a screen with:
Button Setting: Open Popup Setting
Button Shop: Open Popup Shop
Button Start Game - > Open New Game Scene
In Scene Game, it will be great if you can demo the use of
GameUI,
Fixed,
Normal,
TopBar,
PopUp
Big thankyou to you!
The text was updated successfully, but these errors were encountered: