C# Class TinyFrameWork.UICenterMasterManager

UI Main Manager "the Master" most important Class Control all the "Big Parent" window:UIRank,UIShop,UIGame,UIMainMenu and so on. UIRankManager: control the rank window logic (UIRankDetail sub window) May be UIShopManager:control the UIShopDetailWindow or UIShopSubTwoWindow 枢纽中心,控制整个大界面的显示逻辑UIRank,UIMainMenu等 UIRank排行榜界面可能也会有自己的Manager用来管理Rank系统中自己的子界面,这些子界面不交给"老大"UICenterMasterManager管理 分而治之,不是中央集权
Inheritance: UIManagerBase
Afficher le fichier Open project: tinyantstudio/UIFrameWork Class Usage Examples

Méthodes publiques

Свойство Type Description
UIRoot Transform
maskAtlas UIAtlas

Méthodes publiques

Méthode Description
AdjustTargetWindowDepthToTop ( UIBaseWindow targetWindow ) : void
ClearAllWindow ( ) : void
CloseMessageBox ( System.Action onClosed = null ) : void
HideWindow ( WindowID id, Action onComplete = null ) : void
InitWindowManager ( ) : void
PopNavigationWindow ( ) : bool

Return logic When return back navigation check current window's Return Logic If true just execute the return logic If false just immediately enter the RealReturnWindow() logic

ShowMessageBox ( string msg ) : void

MessageBox

ShowMessageBox ( string msg, string centerStr, UIEventListener callBack ) : void
ShowMessageBox ( string msg, string leftStr, UIEventListener leftCallBack, string rightStr, UIEventListener rightCallBack ) : void
ShowWindow ( WindowID id, ShowWindowData showData = null ) : void

Méthodes protégées

Méthode Description
Awake ( ) : void
InitWindowControl ( ) : void
ReadyToShowBaseWindow ( WindowID id, ShowWindowData showData = null ) : UIBaseWindow

Private Methods

Méthode Description
AddColliderBgForWindow ( UIBaseWindow baseWindow ) : void

Add Collider and BgTexture for target window

AdjustBaseWindowDepth ( UIBaseWindow baseWindow ) : void

Calculate right depth with windowType

CheckBackSequenceData ( UIBaseWindow baseWindow ) : void
ExecuteNavigationLogic ( UIBaseWindow baseWindow, ShowWindowData showData ) : void
GetTargetRoot ( UIWindowType type ) : Transform
RefreshBackSequenceData ( UIBaseWindow targetWindow, ShowWindowData showData ) : void

Method Details

AdjustTargetWindowDepthToTop() public static méthode

public static AdjustTargetWindowDepthToTop ( UIBaseWindow targetWindow ) : void
targetWindow UIBaseWindow
Résultat void

Awake() protected méthode

protected Awake ( ) : void
Résultat void

ClearAllWindow() public méthode

public ClearAllWindow ( ) : void
Résultat void

CloseMessageBox() public méthode

public CloseMessageBox ( System.Action onClosed = null ) : void
onClosed System.Action
Résultat void

HideWindow() public méthode

public HideWindow ( WindowID id, Action onComplete = null ) : void
id WindowID
onComplete Action
Résultat void

InitWindowControl() protected méthode

protected InitWindowControl ( ) : void
Résultat void

InitWindowManager() public méthode

public InitWindowManager ( ) : void
Résultat void

PopNavigationWindow() public méthode

Return logic When return back navigation check current window's Return Logic If true just execute the return logic If false just immediately enter the RealReturnWindow() logic
public PopNavigationWindow ( ) : bool
Résultat bool

ReadyToShowBaseWindow() protected méthode

protected ReadyToShowBaseWindow ( WindowID id, ShowWindowData showData = null ) : UIBaseWindow
id WindowID
showData ShowWindowData
Résultat UIBaseWindow

ShowMessageBox() public méthode

MessageBox
public ShowMessageBox ( string msg ) : void
msg string
Résultat void

ShowMessageBox() public méthode

public ShowMessageBox ( string msg, string centerStr, UIEventListener callBack ) : void
msg string
centerStr string
callBack UIEventListener
Résultat void

ShowMessageBox() public méthode

public ShowMessageBox ( string msg, string leftStr, UIEventListener leftCallBack, string rightStr, UIEventListener rightCallBack ) : void
msg string
leftStr string
leftCallBack UIEventListener
rightStr string
rightCallBack UIEventListener
Résultat void

ShowWindow() public méthode

public ShowWindow ( WindowID id, ShowWindowData showData = null ) : void
id WindowID
showData ShowWindowData
Résultat void

Property Details

UIRoot public_oe property

public Transform UIRoot
Résultat Transform

maskAtlas public_oe property

public UIAtlas maskAtlas
Résultat UIAtlas