public void ShowHierarchyRightPopup(FXMakerHierarchy.OBJECT_TYPE selObjType, Transform baseTransform, Object selObj, int selIndex) { FxmPopup_Object popupObject = m_ToolPopupGameObject.GetComponent <FxmPopup_Object>(); if (popupObject == null) { popupObject = m_ToolPopupGameObject.AddComponent <FxmPopup_Object>(); } m_CurrentHierarchyPopup = popupObject; if (popupObject != null) { popupObject.ShowPopupWindow(selObjType, baseTransform, selObj, selIndex); } }
public void ShowHierarchyObjectPopup(string scriptFilename, Object selObj) { if (scriptFilename != null) { m_CurrentHierarchyPopup = m_ToolPopupGameObject.GetComponent(scriptFilename) as FxmPopup; if (m_CurrentHierarchyPopup == null) { m_CurrentHierarchyPopup = UnityEngineInternal.APIUpdaterRuntimeServices.AddComponent(m_ToolPopupGameObject, "Assets/IGSoft_Tools/FXMaker/ToolScript/ToolScript/FxmPopupManager.cs (418,31)", scriptFilename) as FxmPopup; } if (m_CurrentHierarchyPopup != null) { m_CurrentHierarchyPopup.ShowPopupWindow(selObj); } } }
public void ShowHierarchyObjectPopup(string scriptFilename, Object selObj) { if (scriptFilename != null) { m_CurrentHierarchyPopup = m_ToolPopupGameObject.GetComponent(scriptFilename) as FxmPopup; if (m_CurrentHierarchyPopup == null) { m_CurrentHierarchyPopup = m_ToolPopupGameObject.AddComponent(scriptFilename) as FxmPopup; } if (m_CurrentHierarchyPopup != null) { m_CurrentHierarchyPopup.ShowPopupWindow(selObj); } } }
public void OnClosePopup(FxmPopup popup) { m_bShowByInspector = false; }
public void ShowHierarchyObjectPopup(string scriptFilename, Object selObj) { if (scriptFilename != null) { m_CurrentHierarchyPopup = m_ToolPopupGameObject.GetComponent(scriptFilename) as FxmPopup; if (m_CurrentHierarchyPopup == null) m_CurrentHierarchyPopup = m_ToolPopupGameObject.AddComponent(scriptFilename) as FxmPopup; if (m_CurrentHierarchyPopup != null) m_CurrentHierarchyPopup.ShowPopupWindow(selObj); } }
public void ShowHierarchyRightPopup(FXMakerHierarchy.OBJECT_TYPE selObjType, Transform baseTransform, Object selObj, int selIndex) { FxmPopup_Object popupObject = m_ToolPopupGameObject.GetComponent<FxmPopup_Object>(); if (popupObject == null) popupObject = m_ToolPopupGameObject.AddComponent<FxmPopup_Object>(); m_CurrentHierarchyPopup = popupObject; if (popupObject != null) popupObject.ShowPopupWindow(selObjType, baseTransform, selObj, selIndex); }
public static void WindowDescription(Rect popupRect, FXMakerLayout.WINDOWID winId, FxmPopup popup) { CheckValid(WindowDescriptionStr); Vector2 mousePos = FXMakerLayout.GetGUIMousePosition(); Rect rectDesc = FXMakerLayout.GetInnerTopRect(popupRect, 0, 19); string tooltip = ""; if (rectDesc.Contains(mousePos) && GUI.enabled && (popup == null || popup.GetPopupRect().Contains(mousePos) == false)) { switch (winId) { case FXMakerLayout.WINDOWID.TOP_CENTER : tooltip = "MainToolbar\n" + WindowDescriptionStr[GetLang(), 0]; break; case FXMakerLayout.WINDOWID.EFFECT_LIST : tooltip = "PREFAB_LIST\n" + WindowDescriptionStr[GetLang(), 1]; break; case FXMakerLayout.WINDOWID.EFFECT_HIERARCHY : tooltip = "PREFAB_HIERARCHY\n" + WindowDescriptionStr[GetLang(), 2]; break; case FXMakerLayout.WINDOWID.EFFECT_CONTROLS : tooltip = "PREFAB_CONTROLS\n" + WindowDescriptionStr[GetLang(), 3]; break; default: return; } FXMakerMain.inst.SaveTooltip(Tooltip(tooltip)); } }
public void ShowHierarchyObjectPopup(string scriptFilename, Object selObj) { if (scriptFilename != null) { m_CurrentHierarchyPopup = m_ToolPopupGameObject.GetComponent(scriptFilename) as FxmPopup; if (m_CurrentHierarchyPopup == null) m_CurrentHierarchyPopup = UnityEngineInternal.APIUpdaterRuntimeServices.AddComponent(m_ToolPopupGameObject, "Assets/IGSoft_Tools/FXMaker/ToolScript/ToolScript/FxmPopupManager.cs (395,31)", scriptFilename) as FxmPopup; if (m_CurrentHierarchyPopup != null) m_CurrentHierarchyPopup.ShowPopupWindow(selObj); } }