C# Class QFramework.UI.QUIBehaviour

Inheritance: QMonoBehaviour
显示文件 Open project: liangxiegame/QFramework Class Usage Examples

Protected Properties

Property Type Description
mIComponents IUIComponents
mMsgIds ushort[]

Public Methods

Method Description
AddButtonListener ( UnityAction action ) : void
AddInputListener ( UnityAction action ) : void
AddSliderListener ( UnityAction action ) : void
Close ( ) : void
Enter ( object uiData ) : void
Exit ( ) : void
Get ( string behaivourName ) : Transform
Hide ( ) : void
Init ( object uiData = null ) : void
ProcessMsg ( QMsg msg ) : void
RegisterSelf ( QMonoBehaviour behaviour, ushort msgs ) : void
RemoveButtonListener ( UnityAction action ) : void
RemoveSliderListener ( UnityAction action ) : void
SendMsg ( QMsg msg ) : void
SetVisible ( bool visible ) : void
Show ( ) : void
UnRegisterSelf ( QMonoBehaviour behaviour, ushort msg ) : void

Protected Methods

Method Description
DestroyUI ( ) : void
InitUI ( object uiData = null ) : void
OnAwake ( ) : void
OnClose ( ) : void
OnEnter ( object uiData ) : void

资源加载之后用

OnExit ( ) : void

删除时候调用

OnFixedUpdate ( ) : void
OnHide ( ) : void

隐藏时候调用,即将删除 或者,Active为False

OnShow ( ) : void

显示时候用,或者,Active为True

OnStart ( ) : void
OnUpdate ( ) : void
RegisterUIEvent ( ) : void
SetUIBehavior ( IUIComponents uiChild ) : void
SetupMgr ( ) : void

Private Methods

Method Description
FindAllCanHandleWidget ( Transform trans ) : void
InnerInit ( object uiData = null ) : void
OnDestroy ( ) : void

Method Details

AddButtonListener() public method

public AddButtonListener ( UnityAction action ) : void
action UnityAction
return void

AddInputListener() public method

public AddInputListener ( UnityAction action ) : void
action UnityAction
return void

AddSliderListener() public method

public AddSliderListener ( UnityAction action ) : void
action UnityAction
return void

Close() public method

public Close ( ) : void
return void

DestroyUI() protected method

protected DestroyUI ( ) : void
return void

Enter() public method

public Enter ( object uiData ) : void
uiData object
return void

Exit() public method

public Exit ( ) : void
return void

Get() public method

public Get ( string behaivourName ) : Transform
behaivourName string
return UnityEngine.Transform

Hide() public method

public Hide ( ) : void
return void

Init() public method

public Init ( object uiData = null ) : void
uiData object
return void

InitUI() protected method

protected InitUI ( object uiData = null ) : void
uiData object
return void

OnAwake() protected method

protected OnAwake ( ) : void
return void

OnClose() protected method

protected OnClose ( ) : void
return void

OnEnter() protected method

资源加载之后用
protected OnEnter ( object uiData ) : void
uiData object
return void

OnExit() protected method

删除时候调用
protected OnExit ( ) : void
return void

OnFixedUpdate() protected method

protected OnFixedUpdate ( ) : void
return void

OnHide() protected method

隐藏时候调用,即将删除 或者,Active为False
protected OnHide ( ) : void
return void

OnShow() protected method

显示时候用,或者,Active为True
protected OnShow ( ) : void
return void

OnStart() protected method

protected OnStart ( ) : void
return void

OnUpdate() protected method

protected OnUpdate ( ) : void
return void

ProcessMsg() public method

public ProcessMsg ( QMsg msg ) : void
msg QMsg
return void

RegisterSelf() public method

public RegisterSelf ( QMonoBehaviour behaviour, ushort msgs ) : void
behaviour QMonoBehaviour
msgs ushort
return void

RegisterUIEvent() protected method

protected RegisterUIEvent ( ) : void
return void

RemoveButtonListener() public method

public RemoveButtonListener ( UnityAction action ) : void
action UnityAction
return void

RemoveSliderListener() public method

public RemoveSliderListener ( UnityAction action ) : void
action UnityAction
return void

SendMsg() public method

public SendMsg ( QMsg msg ) : void
msg QMsg
return void

SetUIBehavior() protected method

protected SetUIBehavior ( IUIComponents uiChild ) : void
uiChild IUIComponents
return void

SetVisible() public method

public SetVisible ( bool visible ) : void
visible bool
return void

SetupMgr() protected method

protected SetupMgr ( ) : void
return void

Show() public method

public Show ( ) : void
return void

UnRegisterSelf() public method

public UnRegisterSelf ( QMonoBehaviour behaviour, ushort msg ) : void
behaviour QMonoBehaviour
msg ushort
return void

Property Details

mIComponents protected_oe property

protected IUIComponents mIComponents
return IUIComponents

mMsgIds protected_oe property

protected ushort[] mMsgIds
return ushort[]