Home
Softono

Godot Uuid

Open source MIT GDScript
260
Stars
27
Forks
3
Issues
4
Watchers
7 months
Last Commit

 About Godot Uuid

Unique identifier generation v4 for Godot Engine

Platforms

Web Self-hosted

Languages

GDScript

Links

Need Help Installing Godot Uuid?

We provide expert installation service for this software. Our team will install, configure, and secure Godot Uuid on your server. plans start at just $30.

Godot Uuid

View on GitHub

uuid - static uuid generator for Godot Engine

The UUID class is a GDScript 'static' class that provides a unique identifier generation for Godot Engine.

Usage

Copy the uuid.gd file in your project folder, then start using it.

func _init():
  # To generate a new UUID string
  print(UUID.v4())

  # To generate a new UUID object
  var uuid_object = UUID.new()
  var uuid_object_2 = UUID.new()

  print(uuid_object.as_string())
  print(uuid_object.as_dict())

  # Get a duplicated object
  print(uuid_object.as_array())

  # Compare 2 UUID objects
  print(uuid_object.is_equal(uuid_object_2))

Licensing

MIT (See license file for more informations)