Jump to content

Restless Souls/Wishlist: Difference between revisions

m
Line 637: Line 637:
  -- WidgetSwitcher (master section, e.g. for "Main content")
  -- WidgetSwitcher (master section, e.g. for "Main content")
   +-- WidgetSwitcher (section, e.g. for powerup items)
   +-- WidgetSwitcher (section, e.g. for powerup items)
     +-- Overlay
     +-- Overlay  
       +-- Text
       +-- Text (e.g. hypospray text)
       +-- Image
       +-- Image (e.g. hypospray icon)
  -- WidgetSwitcher (master section)
  -- WidgetSwitcher (master section, e.g. for "hint text")
   +-- WidgetSwitcher (section, e.g. for powerup item hints)
   +-- WidgetSwitcher (section, e.g. for powerup item hints)
     +-- Overlay
     +-- Overlay
       +-- Text
       +-- Text (e.g. hypospray hint text)


Direct children of '''W'''idget'''S'''witcher are retrieved by using the WS reference connected to a Get Num Widget node.
Count direct children of '''W'''idget'''S'''witcher are using the WS reference connected to a Get Num Widget node.


It's possibly a good idea to count all sections during the construction event and save the results in an array via Make Array node.
It's possibly a good idea to count all sections during the construction event and save the results in an array via Make Array node.
8,046

edits