Table of Contents

Method WaitForPanel

Namespace
GrindFest
Assembly
GrindFest.dll

WaitForPanel(string, bool, float)

Wait for a panel to be on screen (open: true) or gone (open: false). This is the state probe - use it for "did the menu open?". Keep the text helpers (WaitForText) for the other half of the question: "did this panel's content render?", which a panel-id check cannot see (a panel can be up while its tabs render nothing).

protected IEnumerator WaitForPanel(string panelId, bool open = true, float timeout = 5)

Parameters

panelId string
open bool
timeout float

Returns

IEnumerator