GwNavDebug - stingray.GwNavDebug namespace reference - Stingray Lua API Reference

stingray.GwNavDebug namespace reference

Description

Functions used for debugging and only defined in development builds.

Do not use in your final builds.

Development Only

The elements in this group are only available in development builds.

Do not use them in your final builds.

Parameters

enable :

boolean

true to enable or false to disable

Returns
This function does not return any values.
Parameters
This function does not accept any parameters.
Returns

boolean

return true if enable

Parameters
This function does not accept any parameters.
Returns

boolean

return true if enable

Parameters

stack_level :

integer?

The level to look for the file and line in the lua stack. It should be greater or equal to 1.

The ? notation indicates that this type is optional: there may be zero or one instances of it.
Returns

string?

The lua source file.

The ? notation indicates that this type is optional: there may be zero or one instances of it.

integer?

The line in the source file.

The ? notation indicates that this type is optional: there may be zero or one instances of it.

nil is returned if no lua source file and line are found.

Parameters

message :

string

The message to log

Returns
This function does not return any values.
Parameters

message :

string

The message to log

Returns
This function does not return any values.
Parameters

message :

string

The message to log

Returns
This function does not return any values.
Parameters
This function does not accept any parameters.
Returns
This function does not return any values.
Parameters

enable :

boolean

true to enable or false to disable

Returns
This function does not return any values.

It should be changed before creating any Navigation object.