mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-14 06:19:47 -05:00
24 lines
594 B
C#
24 lines
594 B
C#
using System.IO;
|
|
using UnityEngine;
|
|
|
|
namespace UniVRM10
|
|
{
|
|
public static class TestAsset
|
|
{
|
|
public static string AliciaPath
|
|
{
|
|
get
|
|
{
|
|
return Path.GetFullPath(Application.dataPath + "/../Tests/Models/Alicia_vrm-0.51/AliciaSolid_vrm-0.51.vrm")
|
|
.Replace("\\", "/");
|
|
}
|
|
}
|
|
|
|
public static Vrm10Instance LoadAlicia()
|
|
{
|
|
var instance = TestVrm10.LoadPathAsBuiltInRP(AliciaPath, canLoadVrm0X: true);
|
|
return instance.GetComponent<Vrm10Instance>();
|
|
}
|
|
}
|
|
}
|