Tile - YDebug - Debug Mode – Ylands
Jump to navigation
Jump to search
(Created page with "[[Image:{{PAGENAME}}.png]] *Returns whenever is the '''custom game''' run from '''editor''' or from main menu. *Allows to create debug methods that could be useful for testing...") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}") |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[ | <!--- | ||
*Returns | THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE. | ||
--> | |||
== Debug Mode() == | |||
[[File:YlandsTile-495.png]] | |||
<pre>static isDebugMode(): boolean;</pre> | |||
=== Returns === | |||
'''boolean''' | |||
=== Availability === | |||
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]], [[Ylands:Tile Availability - Custom Controller|Custom Controller]] | |||
=== Description === | |||
Allows creators to have '''Conditional Statements''' that allow debug methods that only run during testing. | |||
=== Notes === | |||
* Returns TRUE when the '''custom game''' is tested within the '''editor''' and FALSE when it is run as a published game from the main menu. | |||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}} | ||
[[Category: Instructions]] | [[Category: Instructions]] | ||
Latest revision as of 14:26, 24 November 2023
Debug Mode()
static isDebugMode(): boolean;
Returns
boolean
Availability
Client, Server, Custom Controller
Description
Allows creators to have Conditional Statements that allow debug methods that only run during testing.
Notes
- Returns TRUE when the custom game is tested within the editor and FALSE when it is run as a published game from the main menu.