not Generic

This commit is contained in:
ousttrue
2021-02-19 16:23:57 +09:00
parent fa712fc1d4
commit 6914df7de0
10 changed files with 180 additions and 60 deletions

View File

@@ -7,7 +7,7 @@ using UnityEngine;
namespace VRM.Samples
{
using Task = Awaitable<Unit>;
public class VRMRuntimeLoader : MonoBehaviour
{
@@ -165,7 +165,7 @@ namespace VRM.Samples
}
async Task LoadAsync(VRMImporterContext context)
async Awaitable LoadAsync(VRMImporterContext context)
{
#if true
var now = Time.time;
@@ -178,7 +178,6 @@ namespace VRM.Samples
// ローカルファイルシステムからロードします
VRMImporter.LoadVrmAsync(path, OnLoaded);
#endif
return new Unit();
}
void LoadBVHClicked()