Skip to content

UnityAddressablesFS

Namespace: Shadop.Archmage.Sdk

Implements the IFS interface to load files via Unity Addressables.

public class UnityAddressablesFS : IFS

Inheritance ObjectUnityAddressablesFS
Implements IFS

public UnityAddressablesFS()
public Byte[] ReadAllBytes(string path)

path String

Byte[]

ReadAllBytesAsync(String, CancellationToken)

Section titled “ReadAllBytesAsync(String, CancellationToken)”
public Task<Byte[]> ReadAllBytesAsync(string path, CancellationToken cancellationToken)

path String

cancellationToken CancellationToken

Task<Byte[]>

public bool FileExists(string path)

path String

Boolean

public bool DirectoryExists(string path)

path String

Boolean