2_core
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 2_core [2017/06/22 03:42] – loywong | 2_core [2024/06/18 13:42] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ==== UIBinder ==== | ==== UIBinder ==== | ||
| The ViewModel. | The ViewModel. | ||
| + | <code c#> | ||
| + | protected Action< | ||
| + | |||
| + | protected Action< | ||
| + | protected Action< | ||
| + | protected Action< | ||
| + | protected Action< | ||
| + | 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< | ||
| + | |||
| + | ... | ||
| + | ... | ||
| + | </ | ||
| ==== UIScene ==== | ==== UIScene ==== | ||
| Manage all ui scenes. | 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 ==== | ==== UIHub ==== | ||
| Offer common public functions. | 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.1498102970.txt.gz · Last modified: 2024/06/18 13:44 (external edit)
