Logging Widget Trees
Summary
Wait, that's not what I want!
Logging layer trees
private static func PrintLayerHierarchy(layerName: CName) {
let window = GameInstance.GetInkSystem().GetLayer(layerName).GetVirtualWindow();
let rootWidget = window.GetWidgetByPathName(n"Root") as inkCanvas;
// The function LogWidgetTree is defined below
LogWidgetTree(n"DEBUG", rootWidget);
}
PrintLayerHierarchy(n"inkHUDLayer")Logging Widget Trees
Last updated
Was this helpful?