User Tools

Site Tools


2_core

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
2_core [2017/06/25 12:50] – [UIBinder] loywong2_core [2024/06/18 13:42] (current) – external edit 127.0.0.1
Line 32: Line 32:
 protected Action<int, Vector2>              onUpdateLstPos; protected Action<int, Vector2>              onUpdateLstPos;
 protected Action<GameObject, int>           onSetParent; protected Action<GameObject, int>           onSetParent;
 +
 +...
 +...
 </code> </code>
 ==== 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 ()
 +...
 +...
 +</code>
 ==== UIHub ==== ==== UIHub ====
 Offer common public functions. Offer common public functions.
 +<code c#>
 +public GameObject Load (int panelTypeID)
 +public GameObject Load (UIPanelType uiPanelType, string prefabName = null)
 +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<UIEnum_CheckDlgBtnType, string> btnsTextDict = null, Action<UIEnum_CheckDlgBtnType> onBtnResponce = null)
 +...
 +...
 +</code>
2_core.1498395052.txt.gz · Last modified: 2024/06/18 13:44 (external edit)