SHARE
TWEET

Untitled

a guest Mar 16th, 2015 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. UIComponent panel = null;
  2.  
  3. if (uiView.panelsLibrary.m_DynamicPanels != null)
  4.         foreach (var p in uiView.panelsLibrary.m_DynamicPanels)
  5.                 if (p.name == "ZonedBuildingWorldInfoPanel")
  6.                 {
  7.                         panel = p.instance;
  8.                         break;
  9.                 }
  10.  
  11. if (panel != null)
  12. {
  13.         // Panel exists!
  14.         // ...
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top