C# Class FxmPopupManager, TestGame

Inheritance: MonoBehaviour
显示文件 Open project: liuxq/TestGame Class Usage Examples

Public Properties

Property Type Description
inst FxmPopupManager,
m_ToolPopupGameObject GameObject

Protected Properties

Property Type Description
m_CurrentFolderPopup FxmFolderPopup,
m_CurrentHierarchyPopup FxmPopup,
m_CurrentMenuPopup FxmMenuPopup,
m_CurrentSpritePopup FxmSpritePopup,
m_ModalMessage string
m_ModalType FXMakerLayout.MODAL_TYPE
m_ScriptTooltip string
m_StaticMessage string
m_ToolMessage string
m_bCursorTooltip bool
m_bShowByInspector bool
m_fMessageTime float
m_nHintRectCount int
m_nModalMessageValue FXMakerLayout.MODALRETURN_TYPE

Public Methods

Method Description
ChangeMaterialColor ( Transform selTrans, int nSelMatIndex, Color color ) : void
CloseNcCurvePopup ( ) : void
CloseNcPrefabPopup ( ) : void
GetCurrentFolderPopup ( ) : FxmFolderPopup,
GetCurrentHierarchyPopup ( ) : FxmPopup,
GetCurrentMenuPopup ( ) : FxmMenuPopup,
GetModalMessageValue ( ) : FXMakerLayout.MODALRETURN_TYPE
GetSelectedIndex ( ) : int
GetSpritePopup ( ) : FxmSpritePopup,
HideAllPopup ( bool bSave ) : void
HideFolderPopup ( bool bSave ) : void
HideHierarchyPopup ( bool bSave ) : void
HideMenuPopup ( bool bSave ) : void
HideModalMessage ( ) : void
HideSpritePopup ( ) : void
HideToolMessage ( ) : void
IsContainsHierarchyPopup ( Vector2 mousePos ) : bool
IsGUIMousePosition ( ) : bool
IsShowByInspector ( ) : bool
IsShowCurrentFolderPopup ( ) : bool
IsShowCurrentMenuPopup ( ) : bool
IsShowHierarchyPopup ( ) : bool
IsShowModalMessage ( ) : bool
IsShowPopup ( ) : bool
IsShowPopupExcludeMenu ( ) : bool
IsShowSpritePopup ( ) : bool
OnClosePopup ( FxmPopup, popup ) : void
OnGUIFolderPopup ( ) : void
OnGUIHierarchyPopup ( ) : void
OnGUIModalMessage ( ) : void
OnGUIScriptTooltip ( ) : void
OnGUIToolMessage ( ) : void
OnHoverCommand_Popup ( int nInstanceID ) : void
RecreateInstanceEffect ( ) : void
SetDelayBottomMessage ( string toolTip ) : void
SetScriptTooltip ( string toolTip ) : void
SetStaticBottomMessage ( string msg ) : void
ShowAddPrefabPopup ( Transform trans ) : void
ShowBottomTooltip ( string toolTip ) : void
ShowCursorTooltip ( string toolTip ) : void
ShowHierarchyObjectPopup ( string scriptFilename, Object selObj ) : void
ShowHierarchyRightPopup ( FXMakerHierarchy, selObjType, Transform baseTransform, Object selObj, int selIndex ) : void
ShowHintRect ( Rect hintRect ) : void
ShowMaterialPopup ( Transform selTrans, int nSelMatIndex ) : void
ShowMenuPopup ( string popupName, string displayedMenu ) : void
ShowMenuPopup ( string popupName, string displayedMenu, bool eabledMenu ) : void
ShowModalOkCancelMessage ( string msg ) : bool
ShowNcCurveAnimationPopup ( NcCurveAnimation selObj, bool bSaveDialog ) : void
ShowNcInfoCurvePopup ( NcCurveAnimation selObj, int nSelIndex, bool bSaveDialog ) : void
ShowSavePrefabPopup ( Transform trans ) : void
ShowSelectAudioClipPopup ( NcAttachSound, selCom ) : void
ShowSelectMeshPopup ( Component selCom ) : void
ShowSelectPrefabPopup ( NcEffectBehaviour, selCom, bool bShowByInspector, int nArgIndex ) : void
ShowSelectPrefabPopup ( NcEffectBehaviour, selCom, int nArgIndex, int nSubArgIndex, bool bShowByInspector ) : void
ShowSpritePopup ( ) : void
ShowToolMessage ( string msg ) : void
ShowToolMessage ( string msg, float time ) : void
ShowWarningMessage ( string msg, float time ) : void
UpdateBringWindow ( ) : void

Private Methods

Method Description
Awake ( ) : void
ClearDelayBottomMessage ( ) : void
ClearStaticBottomMessage ( ) : void
FxmPopupManager ( ) : UnityEngine
OnEnable ( ) : void
SetFxmFolderPopup ( System fxmFolderPopup ) : bool
ShowScriptTooltip ( string toolTip ) : void
ShowStaticMessage ( string toolTip ) : void
Start ( ) : void
Update ( ) : void
winEmpty ( int id ) : void
winModalMessage ( int id ) : void

Method Details

ChangeMaterialColor() public method

public ChangeMaterialColor ( Transform selTrans, int nSelMatIndex, Color color ) : void
selTrans Transform
nSelMatIndex int
color Color
return void

CloseNcCurvePopup() public method

public CloseNcCurvePopup ( ) : void
return void

CloseNcPrefabPopup() public method

public CloseNcPrefabPopup ( ) : void
return void

GetCurrentFolderPopup() public method

public GetCurrentFolderPopup ( ) : FxmFolderPopup,
return FxmFolderPopup,

GetCurrentHierarchyPopup() public method

public GetCurrentHierarchyPopup ( ) : FxmPopup,
return FxmPopup,

GetCurrentMenuPopup() public method

public GetCurrentMenuPopup ( ) : FxmMenuPopup,
return FxmMenuPopup,

GetModalMessageValue() public method

public GetModalMessageValue ( ) : FXMakerLayout.MODALRETURN_TYPE
return FXMakerLayout.MODALRETURN_TYPE

GetSelectedIndex() public method

public GetSelectedIndex ( ) : int
return int

GetSpritePopup() public method

public GetSpritePopup ( ) : FxmSpritePopup,
return FxmSpritePopup,

HideAllPopup() public method

public HideAllPopup ( bool bSave ) : void
bSave bool
return void

HideFolderPopup() public method

public HideFolderPopup ( bool bSave ) : void
bSave bool
return void

HideHierarchyPopup() public method

public HideHierarchyPopup ( bool bSave ) : void
bSave bool
return void

HideMenuPopup() public method

public HideMenuPopup ( bool bSave ) : void
bSave bool
return void

HideModalMessage() public method

public HideModalMessage ( ) : void
return void

HideSpritePopup() public method

public HideSpritePopup ( ) : void
return void

HideToolMessage() public method

public HideToolMessage ( ) : void
return void

IsContainsHierarchyPopup() public method

public IsContainsHierarchyPopup ( Vector2 mousePos ) : bool
mousePos Vector2
return bool

IsGUIMousePosition() public method

public IsGUIMousePosition ( ) : bool
return bool

IsShowByInspector() public method

public IsShowByInspector ( ) : bool
return bool

IsShowCurrentFolderPopup() public method

public IsShowCurrentFolderPopup ( ) : bool
return bool

IsShowCurrentMenuPopup() public method

public IsShowCurrentMenuPopup ( ) : bool
return bool

IsShowHierarchyPopup() public method

public IsShowHierarchyPopup ( ) : bool
return bool

IsShowModalMessage() public method

public IsShowModalMessage ( ) : bool
return bool

IsShowPopup() public method

public IsShowPopup ( ) : bool
return bool

IsShowPopupExcludeMenu() public method

public IsShowPopupExcludeMenu ( ) : bool
return bool

IsShowSpritePopup() public method

public IsShowSpritePopup ( ) : bool
return bool

OnClosePopup() public method

public OnClosePopup ( FxmPopup, popup ) : void
popup FxmPopup,
return void

OnGUIFolderPopup() public method

public OnGUIFolderPopup ( ) : void
return void

OnGUIHierarchyPopup() public method

public OnGUIHierarchyPopup ( ) : void
return void

OnGUIModalMessage() public method

public OnGUIModalMessage ( ) : void
return void

OnGUIScriptTooltip() public method

public OnGUIScriptTooltip ( ) : void
return void

OnGUIToolMessage() public method

public OnGUIToolMessage ( ) : void
return void

OnHoverCommand_Popup() public method

public OnHoverCommand_Popup ( int nInstanceID ) : void
nInstanceID int
return void

RecreateInstanceEffect() public method

public RecreateInstanceEffect ( ) : void
return void

SetDelayBottomMessage() public method

public SetDelayBottomMessage ( string toolTip ) : void
toolTip string
return void

SetScriptTooltip() public method

public SetScriptTooltip ( string toolTip ) : void
toolTip string
return void

SetStaticBottomMessage() public method

public SetStaticBottomMessage ( string msg ) : void
msg string
return void

ShowAddPrefabPopup() public method

public ShowAddPrefabPopup ( Transform trans ) : void
trans Transform
return void

ShowBottomTooltip() public method

public ShowBottomTooltip ( string toolTip ) : void
toolTip string
return void

ShowCursorTooltip() public method

public ShowCursorTooltip ( string toolTip ) : void
toolTip string
return void

ShowHierarchyObjectPopup() public method

public ShowHierarchyObjectPopup ( string scriptFilename, Object selObj ) : void
scriptFilename string
selObj Object
return void

ShowHierarchyRightPopup() public method

public ShowHierarchyRightPopup ( FXMakerHierarchy, selObjType, Transform baseTransform, Object selObj, int selIndex ) : void
selObjType FXMakerHierarchy,
baseTransform Transform
selObj Object
selIndex int
return void

ShowHintRect() public method

public ShowHintRect ( Rect hintRect ) : void
hintRect Rect
return void

ShowMaterialPopup() public method

public ShowMaterialPopup ( Transform selTrans, int nSelMatIndex ) : void
selTrans Transform
nSelMatIndex int
return void

ShowMenuPopup() public method

public ShowMenuPopup ( string popupName, string displayedMenu ) : void
popupName string
displayedMenu string
return void

ShowMenuPopup() public method

public ShowMenuPopup ( string popupName, string displayedMenu, bool eabledMenu ) : void
popupName string
displayedMenu string
eabledMenu bool
return void

ShowModalOkCancelMessage() public method

public ShowModalOkCancelMessage ( string msg ) : bool
msg string
return bool

ShowNcCurveAnimationPopup() public method

public ShowNcCurveAnimationPopup ( NcCurveAnimation selObj, bool bSaveDialog ) : void
selObj NcCurveAnimation
bSaveDialog bool
return void

ShowNcInfoCurvePopup() public method

public ShowNcInfoCurvePopup ( NcCurveAnimation selObj, int nSelIndex, bool bSaveDialog ) : void
selObj NcCurveAnimation
nSelIndex int
bSaveDialog bool
return void

ShowSavePrefabPopup() public method

public ShowSavePrefabPopup ( Transform trans ) : void
trans Transform
return void

ShowSelectAudioClipPopup() public method

public ShowSelectAudioClipPopup ( NcAttachSound, selCom ) : void
selCom NcAttachSound,
return void

ShowSelectMeshPopup() public method

public ShowSelectMeshPopup ( Component selCom ) : void
selCom Component
return void

ShowSelectPrefabPopup() public method

public ShowSelectPrefabPopup ( NcEffectBehaviour, selCom, bool bShowByInspector, int nArgIndex ) : void
selCom NcEffectBehaviour,
bShowByInspector bool
nArgIndex int
return void

ShowSelectPrefabPopup() public method

public ShowSelectPrefabPopup ( NcEffectBehaviour, selCom, int nArgIndex, int nSubArgIndex, bool bShowByInspector ) : void
selCom NcEffectBehaviour,
nArgIndex int
nSubArgIndex int
bShowByInspector bool
return void

ShowSpritePopup() public method

public ShowSpritePopup ( ) : void
return void

ShowToolMessage() public method

public ShowToolMessage ( string msg ) : void
msg string
return void

ShowToolMessage() public method

public ShowToolMessage ( string msg, float time ) : void
msg string
time float
return void

ShowWarningMessage() public method

public ShowWarningMessage ( string msg, float time ) : void
msg string
time float
return void

UpdateBringWindow() public method

public UpdateBringWindow ( ) : void
return void

Property Details

inst public_oe static_oe property

public static FxmPopupManager, inst
return FxmPopupManager,

m_CurrentFolderPopup protected_oe property

protected FxmFolderPopup, m_CurrentFolderPopup
return FxmFolderPopup,

m_CurrentHierarchyPopup protected_oe property

protected FxmPopup, m_CurrentHierarchyPopup
return FxmPopup,

m_CurrentMenuPopup protected_oe property

protected FxmMenuPopup, m_CurrentMenuPopup
return FxmMenuPopup,

m_CurrentSpritePopup protected_oe property

protected FxmSpritePopup, m_CurrentSpritePopup
return FxmSpritePopup,

m_ModalMessage protected_oe property

protected string m_ModalMessage
return string

m_ModalType protected_oe property

protected FXMakerLayout.MODAL_TYPE m_ModalType
return FXMakerLayout.MODAL_TYPE

m_ScriptTooltip protected_oe property

protected string m_ScriptTooltip
return string

m_StaticMessage protected_oe property

protected string m_StaticMessage
return string

m_ToolMessage protected_oe property

protected string m_ToolMessage
return string

m_ToolPopupGameObject public_oe property

public GameObject m_ToolPopupGameObject
return GameObject

m_bCursorTooltip protected_oe property

protected bool m_bCursorTooltip
return bool

m_bShowByInspector protected_oe property

protected bool m_bShowByInspector
return bool

m_fMessageTime protected_oe property

protected float m_fMessageTime
return float

m_nHintRectCount protected_oe property

protected int m_nHintRectCount
return int

m_nModalMessageValue protected_oe property

protected FXMakerLayout.MODALRETURN_TYPE m_nModalMessageValue
return FXMakerLayout.MODALRETURN_TYPE