G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
CommonUI Namespace Reference

Functions

Common UI
UWidget FindParentWidgetOfType (UWidget StartingWidget, TSubclassOf< UWidget > Type)
 Finds the first parent widget of the given type and returns it, or null if no parent could be found.

Function Documentation

◆ FindParentWidgetOfType()

UWidget FindParentWidgetOfType ( UWidget StartingWidget,
TSubclassOf< UWidget > Type )

Finds the first parent widget of the given type and returns it, or null if no parent could be found.