Screen.shouldClearLayers

A function that tells the engine whether the screen should clear layers before updating and becoming active.

class Screen
bool
shouldClearLayers
(
string[] data
)

Parameters

data string[]

The data passed to the screen. Use the data to validate only.

Return Value

Type: bool

True if the screen should clear layers, false otherwise. (Defaults to true when not override.)

Meta