mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
Fix capitalization of GDScript OS.get_unique_id()
This commit is contained in:
@@ -59,7 +59,7 @@ some unique user identifier is needed, for example:
|
||||
.. code-tab:: gdscript GDScript
|
||||
|
||||
var f = File.new()
|
||||
var err = f.open_encrypted_with_pass("user://savedata.bin", File.WRITE, OS.get_unique_ID())
|
||||
var err = f.open_encrypted_with_pass("user://savedata.bin", File.WRITE, OS.get_unique_id())
|
||||
f.store_var(game_state)
|
||||
f.close()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user