C# 클래스 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管理 分而治之,不是中央集权
상속: UIManagerBase
파일 보기 프로젝트 열기: tinyantstudio/UIFrameWork 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
UIRoot Transform
maskAtlas UIAtlas

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Awake ( ) : void
InitWindowControl ( ) : void
ReadyToShowBaseWindow ( WindowID id, ShowWindowData showData = null ) : UIBaseWindow

비공개 메소드들

메소드 설명
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

메소드 상세

AdjustTargetWindowDepthToTop() 공개 정적인 메소드

public static AdjustTargetWindowDepthToTop ( UIBaseWindow targetWindow ) : void
targetWindow UIBaseWindow
리턴 void

Awake() 보호된 메소드

protected Awake ( ) : void
리턴 void

ClearAllWindow() 공개 메소드

public ClearAllWindow ( ) : void
리턴 void

CloseMessageBox() 공개 메소드

public CloseMessageBox ( System.Action onClosed = null ) : void
onClosed System.Action
리턴 void

HideWindow() 공개 메소드

public HideWindow ( WindowID id, Action onComplete = null ) : void
id WindowID
onComplete Action
리턴 void

InitWindowControl() 보호된 메소드

protected InitWindowControl ( ) : void
리턴 void

InitWindowManager() 공개 메소드

public InitWindowManager ( ) : void
리턴 void

PopNavigationWindow() 공개 메소드

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
리턴 bool

ReadyToShowBaseWindow() 보호된 메소드

protected ReadyToShowBaseWindow ( WindowID id, ShowWindowData showData = null ) : UIBaseWindow
id WindowID
showData ShowWindowData
리턴 UIBaseWindow

ShowMessageBox() 공개 메소드

MessageBox
public ShowMessageBox ( string msg ) : void
msg string
리턴 void

ShowMessageBox() 공개 메소드

public ShowMessageBox ( string msg, string centerStr, UIEventListener callBack ) : void
msg string
centerStr string
callBack UIEventListener
리턴 void

ShowMessageBox() 공개 메소드

public ShowMessageBox ( string msg, string leftStr, UIEventListener leftCallBack, string rightStr, UIEventListener rightCallBack ) : void
msg string
leftStr string
leftCallBack UIEventListener
rightStr string
rightCallBack UIEventListener
리턴 void

ShowWindow() 공개 메소드

public ShowWindow ( WindowID id, ShowWindowData showData = null ) : void
id WindowID
showData ShowWindowData
리턴 void

프로퍼티 상세

UIRoot 공개적으로 프로퍼티

public Transform UIRoot
리턴 Transform

maskAtlas 공개적으로 프로퍼티

public UIAtlas maskAtlas
리턴 UIAtlas