Example #1
0
 virtual public void realHide()
 {
     gameObject.SetActive(false);
     if (_isHide3DObjectWhenVisible)
     {
         RG_Utils.set3DObjectVisible(true);
     }
     visible_ = false;
 }
Example #2
0
 /// <summary>
 /// 显示窗口
 /// </summary>
 override public void show()
 {
     showTimeBegin();
     base.show();
     if (_hideOtherWindowWhenShow && !isVisible())
     {
         Game.getInstance().findObject <UIWindowManager>().hideOtherWindow(this);
     }
     gameObject.SetActive(true);
     if (_isHide3DObjectWhenVisible && !_customSet3DObjectVisible)
     {
         RG_Utils.set3DObjectVisible(false);
     }
     if (_bgType != WinBackgroundType.Normal)
     {
     }
     visible_ = true;
 }