Skip to content
プロジェクト

概要

Unique identifier generation v4 for Godot Engine

ゲーム・エミュレーター

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
-1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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)

関連プロジェクトを探す

読み込み中…