상속: UIPanel
예제 #1
0
 private void AIClick(UIComponent component, UIMouseEventParameter eventParam)
 {
     if (aiPanel == null || !aiPanel.isVisible)
     {
         if (tmPanel != null && tmPanel.isVisible)
         {
             HideTMPanel();
         }
         if (aiPanel == null)
         {
             aiPanel = (AIPanel)UIView.GetAView().AddUIComponent(typeof(AIPanel));
         }
         aiPanel.isVisible = true;
     }
     else
     {
         aiPanel.isVisible = false;
     }
 }
 private void AIClick(UIComponent component, UIMouseEventParameter eventParam)
 {
     if (aiPanel == null || !aiPanel.isVisible) {
         if (tmPanel != null && tmPanel.isVisible) {
             HideTMPanel();
         }
         if (aiPanel == null) {
             aiPanel = (AIPanel) UIView.GetAView().AddUIComponent(typeof(AIPanel));
         }
         aiPanel.isVisible = true;
     } else {
         aiPanel.isVisible = false;
     }
 }