add cache to Assets
This commit is contained in:
@@ -9,6 +9,11 @@ import openfl.utils.Future;
|
||||
@:nullSafety
|
||||
class Assets
|
||||
{
|
||||
/**
|
||||
* The assets cache.
|
||||
*/
|
||||
public static var cache:openfl.utils.IAssetCache = openfl.utils.Assets.cache;
|
||||
|
||||
/**
|
||||
* Get the file system path for an asset
|
||||
* @param path The asset path to load from, relative to the assets folder
|
||||
|
||||
Reference in New Issue
Block a user