selimanac
selimanac/defold-uuid4/uuid4
Defold uuid4 generator native extension
- GitHub: selimanac/defold-uuid4 — pinned to
v1.0- Pick a release from selimanac/defold-uuid4 releases and add its Source code (zip) URL (or a packaged
.zipasset, if the library ships one) togame.projectunder[project]dependencies, then Fetch Libraries in the Defold editor. - Run
bunx @defold-typescript/cli resolveto materialize its types. - Import it under a namespace alias of your choice:
import * as uuid4 from "uuid4"
- Pick a release from selimanac/defold-uuid4 releases and add its Source code (zip) URL (or a packaged
Functions
generate(): string
Generates a version 4 UUID.
Returns
string— The UUID as a string.