UnityAddressablesFS
Namespace: Shadop.Archmage.Sdk
Implements the IFS interface to load files via Unity Addressables.
public class UnityAddressablesFS : IFSInheritance Object → UnityAddressablesFS
Implements IFS
Constructors
Section titled “Constructors”UnityAddressablesFS()
Section titled “UnityAddressablesFS()”public UnityAddressablesFS()Methods
Section titled “Methods”ReadAllBytes(String)
Section titled “ReadAllBytes(String)”public Byte[] ReadAllBytes(string path)Parameters
Section titled “Parameters”path String
Returns
Section titled “Returns”ReadAllBytesAsync(String, CancellationToken)
Section titled “ReadAllBytesAsync(String, CancellationToken)”public Task<Byte[]> ReadAllBytesAsync(string path, CancellationToken cancellationToken)Parameters
Section titled “Parameters”path String
cancellationToken CancellationToken
Returns
Section titled “Returns”FileExists(String)
Section titled “FileExists(String)”public bool FileExists(string path)Parameters
Section titled “Parameters”path String
Returns
Section titled “Returns”DirectoryExists(String)
Section titled “DirectoryExists(String)”public bool DirectoryExists(string path)Parameters
Section titled “Parameters”path String