Author Topic: Please make UIPanel.IsVisible(Vector3, Vector3, Vector3, Vector3) public  (Read 1843 times)

mulova

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
To use lazy instantiation of widgets according to the Panel's clip bounds,
it would be good to make UIPanel.IsVisible(Vector3 a, Vector3 b, Vector3 c, Vector3 d) visible to public.
Or how about introducing IsVisible(Bounds) method?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Please make UIPanel.IsVisible(Vector3, Vector3, Vector3, Vector3) public
« Reply #1 on: December 17, 2013, 09:42:41 AM »
I can make it public, but is there a reason you can't use UIPanel.IsVisible(Widget)?

mulova

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Re: Please make UIPanel.IsVisible(Vector3, Vector3, Vector3, Vector3) public
« Reply #2 on: December 18, 2013, 02:03:14 AM »
I'd like to check if the 'widget group' is visible or not instead of a single widget.
It would be good to have IsVisible(UIWidgetContainer) or IsVisible(GameObject).