← Back to Nodes

UINode

⚠️ Experimental - Pre-Release

Inheritance Hierarchy

Inherits:
Inheritance Chain:
Node → UINode

UINode is a UI node for rendering FUR (Flexible UI Rules) markup. It extends Node and provides UI rendering functionality.

Fields

visible: bool

Whether the UI node is visible. If false, the UI won't be rendered.

fur_path: string?

Optional path to the FUR markup file to render. If set, the UI node will render the FUR file.

@script MyUI extends UINode    fn init() {        self.fur_path = "res/ui/main_menu.fur"    }

Inherited Fields: UINode also has all fields from Node: name, id, parent, children, script_path, is_root_of

Related