Click or drag to resize

ResourceLoaderExists Method

Returns whether a recognized resource exists for the given path.

An optional type_hint can be used to further specify the Resource type that should be handled by the ResourceFormatLoader.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool Exists(
	string path,
	string typeHint = ""
)

Parameters

path
Type: SystemString

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

typeHint (Optional)
Type: SystemString

[Missing <param name="typeHint"/> documentation for "M:Godot.ResourceLoader.Exists(System.String,System.String)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.ResourceLoader.Exists(System.String,System.String)"]

See Also