Click or drag to resize

FileFileExists Method

Returns true if the file exists in the given path.

Note: Many resources types are imported (e.g. textures or sound files), and their source asset will not be included in the exported game, as only the imported version is used. See Exists(String, String) for an alternative approach that takes resource remapping into account.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public bool FileExists(
	string path
)

Parameters

path
Type: SystemString

[Missing <param name="path"/> documentation for "M:Godot.File.FileExists(System.String)"]

Return Value

Type: Boolean

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

See Also