An internal class that encapsulate platform-specific code. We usually want platform-specific code to be located in a backend, but it may happen that sometimes creating a backend interface is overkill. That's where this comes handy.
Static methods
staticreadStringFromAsset(assetPath:String):String
Read a string from an asset file, synchronously. Warning: not available on every targets
Returns:
String
staticreadBytesFromAsset(assetPath:String):Bytes
Read bytes from an asset file, synchronously. Warning: not available on every targets
Returns:
String
staticgetAssetsPath():String
Returns assets paths on disk (if any) Warning: not available on every targets
Returns:
String