Pixel-Composer/objects/Obj_FirebaseFirestore_Document_Delete/Mouse_7.gml

10 lines
202 B
Text
Raw Normal View History

2023-11-14 14:29:11 +01:00
randomize()
var map = ds_map_create()
map[?"value"] = "YoYoGames"
map[?"points"] = random(999999)
var json = json_encode(map)
ds_map_destroy(map)
FirebaseFirestore("Collection/Document").Delete(json)