add VRMMeta

This commit is contained in:
ousttrue
2018-03-30 15:47:34 +09:00
parent ae6d6ee966
commit 36f369db42
11 changed files with 136 additions and 18 deletions

View File

@@ -113,13 +113,22 @@ namespace VRM
}
{
// meta
// meta(obsolete)
var src = go.GetComponent<VRMMetaInformation>();
if (src != null)
{
src.CopyTo(root);
}
}
{
// meta
var src = go.GetComponent<VRMMeta>();
if (src != null)
{
var dst = root.AddComponent<VRMMeta>();
dst.Meta = src.Meta;
}
}
{
// firstPerson