a menusystem use uFrame MVVM
-
Clone the essential parts in to local folder Asset/Plugins/:
-
Download the latest release from the release page and Unzip
-
Create a uFrame Database or Open your database
-
Select Import and choose "menuWorkspace.ufdata" to open
-
Open menuWorkspace from your Workspaces page
-
Cope "MiscScripts" and "Resources" into folder "MenuSystem"
-
Create a MVVMGraph or open an exist one
-
Create a new Scene Type node and rename to "MenuScene" and update Kernel
-
Create a new Scene "MenuScene"
-
In "MenuScene", Create an empty gameobjct call "MenuRootView" and attach "MenuRootView" Component
-
Attach "ShieldView" Component into prefab "uGUIShield"
-
Create Scene "MainMenu" and Create an empty gameobject call "MainMenu" and attach "MainMenuView" Component
-
Create Scene "Loading" and Create an empty gameobjct call "Loading" and attach "PanelView" Component
-
Add kernel scene and other 3 scenes you just create into build setting
-
Open "MenuScene" and Hit Play to see the magic !!