a guest Mar 16th, 2015 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- UIComponent panel = null;
- if (uiView.panelsLibrary.m_DynamicPanels != null)
- foreach (var p in uiView.panelsLibrary.m_DynamicPanels)
- if (p.name == "ZonedBuildingWorldInfoPanel")
- panel = p.instance;
- if (panel != null)
- // Panel exists!
- // ...
RAW Paste Data