UI:PushScreen

UI:PushScreen(screen: DataContainer, priority: UIGraphPriority, parentGraph: DataContainer, stateNodeGuid: Guid | nil): bool

Parameters

Name Type Description
screen DataContainer
priority UIGraphPriority
parentGraph DataContainer
stateNodeGuid Guid | nil

Returns

Type Description
bool

Example

Hooks:Install('UI:PushScreen', 1, function(hook, screen, priority, parentGraph, stateNodeGuid)
    -- Do stuff here.
end)