Search Unity

[RELEASED] Dynamic Panels - draggable, resizable, dockable and stackable UI panels

Discussion in 'Assets and Asset Store' started by yasirkula, Mar 22, 2018.

  1. gbahuguna

    gbahuguna

    Joined:
    Jul 30, 2020
    Posts:
    1
    Hello, thank you for the plug in - I have a quick question - is there a way to check how many Panels there are in a canvas? in the same way there is NumberOfTabs
     
  2. yasirkula

    yasirkula

    Joined:
    Aug 1, 2011
    Posts:
    2,879
    The fastest solution I can think of is, iterating over all panels via PanelNotificationCenter.NumberOfPanels and PanelNotificationCenter.GetPanel and checking each panel's Canvas property.
     
  3. Housellama

    Housellama

    Joined:
    Apr 13, 2023
    Posts:
    1
    Can these windows be resized by the player? Can the player change their size in-game, not just in the unity editor?
     
  4. yasirkula

    yasirkula

    Joined:
    Aug 1, 2011
    Posts:
    2,879
    @Housellama Of course! You can check out the WebGL demo to see it in action.