Skip to content

Commit

Permalink
fix: add missing attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Jan 31, 2021
1 parent 6cc0ed1 commit 683b88f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public sealed class LocalAssetManager : ResourceManager {
await Task.CompletedTask;
}

[AOT.MonoPInvokeCallback(typeof(CacheFilePathResolver))]
static string CacheFileFromAsset(string assetPath) {
var assetName = GetAssetName(assetPath);
var localPath = GetLocalFilePath(assetName);
Expand All @@ -39,6 +40,7 @@ public sealed class LocalAssetManager : ResourceManager {
return null;
}

[AOT.MonoPInvokeCallback(typeof(ReadFileHandler))]
static bool ReadFile(string path, IntPtr dst) {
try {
Debug.Log(path);
Expand Down

0 comments on commit 683b88f

Please sign in to comment.