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); } } }