WraithCG - wRAiTHcg's Widgets Management System

Manual process of adding widgets to the viewport and removing them can be tiring. Also, the number of nodes required scale exponentially making it difficult to keep track of everything.

This widgets management system streamlines this process. Now you need not to worry about manually creating any widget, caching its reference for future uses and removing it from parent when new widgets are added to viewport.

  • Simply create your new widget blueprint.

  • Add it to the array and assign it an unique category.

  • For calling creation of any widget, just call "AddWidgetToViewport" interface function with the gameMode as target. Assign the category whose corresponding widget you wish to create.

  • If a reference to the requested widget happens to be valid, it will not be created again. Else it will be created and reference will be cached for other uses.

  • That's all :)

  • Documentation for this system can be accessed by clicking the Documentation button on MainMenu screen.

  • The next update will include a levelSequencesPlayer in the background of different widgets.