Click or drag to resize

ResourceLoaderHasCached Method

Returns whether a cached resource is available for the given path.

Once a resource has been loaded by the engine, it is cached in memory for faster access, and future calls to the Load(String, String, Boolean) or LoadInteractive(String, String) methods will use the cached version. The cached resource can be overridden by using TakeOverPath(String) on a new resource for that same path.

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

Parameters

path
Type: SystemString

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

Return Value

Type: Boolean

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

See Also