2_core
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| 2_core [2017/06/22 02:55] – external edit 127.0.0.1 | 2_core [2024/06/18 13:42] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | 目录 | + | ====== Core ====== |
| + | The core scripts of the framework. | ||
| + | ==== UILinker ==== | ||
| + | The View of MVVM(Model, ViewModel, View), holds all holder(panel) and components to response for model updates. | ||
| + | ==== UIBinder ==== | ||
| + | The ViewModel. | ||
| + | <code c#> | ||
| + | protected Action< | ||
| - | ---- | + | protected Action< |
| - | * 快速上手 | + | protected Action< |
| - | * [[1_guide: | + | protected Action< |
| - | * [[1_guide: | + | protected Action< |
| - | * [[1_guide: | + | protected Action< |
| - | * 核心 | + | protected Action< |
| - | * 视觉 | + | protected Action< |
| - | | + | protected Action< |
| - | | + | protected Action< |
| + | protected Action< | ||
| + | protected Func< | ||
| + | protected Action< | ||
| + | protected Action< | ||
| + | protected Action< | ||
| + | protected Action< | ||
| + | protected Action< | ||
| + | protected Action< | ||
| + | protected Action< | ||
| + | protected Action< | ||
| + | protected Action< | ||
| - | ---- | + | protected Action< |
| + | protected Action< | ||
| + | protected Action< | ||
| - | + | ... | |
| - | LowoUI-UN 正等待着你的使用… | + | ... |
| - | + | </ | |
| - | ● 快速上手 | + | ==== UIScene ==== |
| - | 在浅层次的应用层面,只需要掌握尽量少的知识点就可以使用框架 | + | Manage all ui scenes. |
| - | + | \\ API: | |
| - | + | <code c#> | |
| - | ● 核心 | + | public bool HasEntered (int sceneid) |
| - | 框架核心代码 | + | public void EnterScene(int sceneid) |
| - | + | public void ExitScene () | |
| - | + | public void OnEnd () | |
| - | ● 视觉 | + | public bool IsSceneDefaultUI (int panelTypID) |
| - | ○ 面板(组件的复合) | + | public int GetSceneDefaultToppestUI (int sceneID) |
| - | ○ 组件 | + | public bool Logout () |
| + | ... | ||
| + | ... | ||
| + | </ | ||
| + | ==== UIHub ==== | ||
| + | Offer common public functions. | ||
| + | <code c#> | ||
| + | public GameObject Load (int panelTypeID) | ||
| + | public GameObject Load (UIPanelType uiPanelType, | ||
| + | public void Close (int instanceID) | ||
| + | public void ToggleGO (GameObject go, bool isActive) | ||
| + | public void Show(int insID) | ||
| + | public void Hide(int insID) | ||
| + | public void ShowAll() | ||
| + | public void HideAll() | ||
| + | public void RestartAll () | ||
| + | public void CommonBack () | ||
| + | public void LoadCheckDialog (string title, string des, IDictionary< | ||
| + | ... | ||
| + | ... | ||
| + | </ | ||
2_core.1498100124.txt.gz · Last modified: 2024/06/18 13:44 (external edit)
