Class FileDataLoader
- Namespace
- CodeBase
- Assembly
- 4Experience.CodeBase.Core.Runtime.dll
A helper class containing methods related to loading files or assets.
public static class FileDataLoader
- Inheritance
-
FileDataLoader
Methods
LoadTextureFromDisk(string)
Load a PNG/JPG (or other supported format) image file from disk to a Texture2D. Returns null if load fails.
public static Texture2D LoadTextureFromDisk(string filePath)
Parameters
filePathstring
Returns
- Texture2D