====== 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.
protected Action onPlayEfx; //particular for Efx type of Particle
protected Action onUpdateState;
protected Action onUpdateState_ShowOrHide;
protected Action onUpdateEvent;
protected Action onUpdatePos;
protected Action onUpdateSize;
protected Action onUpdateTxt;
protected Action onUpdateName;
protected Action> onUpdateGroupNames;
protected Action onUpdateTxtAlign;
protected Action onUpdateImg;//net image surpport
protected Func onUpdateWebView;
protected Action onUpdateProg;
protected Action onUpdateSlider;
protected Action onUpdateSliderMaxAndMinValue;
protected Action onUpdateTogl;
protected Action onUpdateGroupIdx;
protected Action onUpdateIptInitStr;
protected Action onUpdateIptLimit;
protected Action onUpdateColor;
protected Action onUpdateEmoji;
protected Action onUpdateLstFocus;//for lst self
protected Action onUpdateLstPos;
protected Action onSetParent;
...
...
==== UIScene ====
Manage all ui scenes.
\\ API:
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.
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 btnsTextDict = null, Action onBtnResponce = null)
...
...