Module CommonAddon

Common functions.

Useful utilities for every project.

Functions

isRuntime () Use this to test if the game has been compiled.
getDeviceLanguage () Get the device's preferred language code.


Functions

isRuntime ()
Use this to test if the game has been compiled.

Returns:

    bool True if the Objective-C function is found, False otherwise.
getDeviceLanguage ()
Get the device's preferred language code. Can be used to localize your games.

Returns:

    string Returns an IETF code like "en" and "fr".
generated by LDoc 1.4.0