/hxdefold-extensions

Haxe externs for various Defold extensions.

Primary LanguageHaxeMIT LicenseMIT

hxdefold-extensions

This package is a collection of externs for various Defold extensions.

The base for this library is files that have been automatically generated, so expect that there may be some mistakes. If you spot any mistakes, or if an extension you want is missing, feel free to open an issue or PR.

Installation

For now, this library can be obtained from the git repository.

haxelib git hxdefold https://github.com/hxdefold/hxdefold-extensions

And can be added as a dependency in the hxml file the same way.

--library hxdefold-extensions:git:https://github.com/hxdefold/hxdefold-extensions

Usage

Simply import and use what you need. All extensions are under the defold.extensions package.

import defold.extensions.facebook.Facebook;

Facebook.enable_advertiser_tracking();

Extensions