Click or drag to resize

FileGetVar Method

Returns the next Variant value from the file. If allow_objects is true, decoding objects is allowed.

Warning: Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Object GetVar(
	bool allowObjects = false
)

Parameters

allowObjects (Optional)
Type: SystemBoolean

[Missing <param name="allowObjects"/> documentation for "M:Godot.File.GetVar(System.Boolean)"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.File.GetVar(System.Boolean)"]

See Also