ResourceSystemclass

objectResourceSystem
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public class Sandbox.ResourceSystem

Constructors1

Showing 1 constructors

Methods5

Showing 5 methods

public bool TryGet(string filepath, T resource)PUBLIC

Try to get a cached resource by its file path.

ParameterTypeDescription
filepathstringFile path to the resource.
resourceTThe retrieved resource, if any.
Returns:boolTrue if resource was retrieved successfully.

On this page