mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-26 04:42:06 -05:00
Change namespaces from VRM/global to VRM.Samples for all scripts in VRM.Samples
This commit is contained in:
@@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
#endif
|
||||
|
||||
|
||||
namespace VRM
|
||||
namespace VRM.Samples
|
||||
{
|
||||
public class VRMRuntimeLoaderNet4 : MonoBehaviour
|
||||
{
|
||||
@@ -104,7 +104,7 @@ namespace VRM
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
var context = new VRMImporterContext();
|
||||
|
||||
var bytes = await ReadBytesAsync(path);
|
||||
@@ -123,7 +123,7 @@ namespace VRM
|
||||
var delta = Time.time - now;
|
||||
Debug.LogFormat("LoadVrmAsync {0:0.0} seconds", delta);
|
||||
OnLoaded(context);
|
||||
|
||||
|
||||
}
|
||||
|
||||
void LoadBVHClicked()
|
||||
@@ -160,11 +160,11 @@ namespace VRM
|
||||
void LoadBvh(string path)
|
||||
{
|
||||
Debug.LogFormat("ImportBvh: {0}", path);
|
||||
|
||||
|
||||
var context = new UniHumanoid.BvhImporterContext();
|
||||
|
||||
context.Parse(path);
|
||||
|
||||
|
||||
context.Load();
|
||||
|
||||
if (m_source != null)
|
||||
@@ -177,4 +177,4 @@ namespace VRM
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user