mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-07-21 17:50:57 -05:00
Merge branch 'master' into fix/node_name_unique
This commit is contained in:
commit
2889ece0c2
|
|
@ -7,6 +7,7 @@ using UniGLTF;
|
|||
using UniHumanoid;
|
||||
using Unity.Collections;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Networking;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace VRM.SimpleViewer
|
||||
|
|
@ -357,9 +358,9 @@ namespace VRM.SimpleViewer
|
|||
|
||||
IEnumerator LoadCoroutine(string url)
|
||||
{
|
||||
var www = new WWW(url);
|
||||
yield return www;
|
||||
var task = LoadBytesAsync("WebGL.vrm", www.bytes);
|
||||
var www = UnityWebRequest.Get(url);
|
||||
yield return www.SendWebRequest();
|
||||
var task = LoadBytesAsync("WebGL.vrm", www.downloadHandler.data);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user