Merge pull request #482 from ousttrue/fix_unihumanoid_prefab

component that has reference to self hierarchy may cause freeze editor
This commit is contained in:
hiroj 2020-07-27 14:13:08 +09:00 committed by GitHub
commit a6beaca4de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,9 +117,6 @@ namespace UniHumanoid
renderer.sharedMaterial = Material;
Mesh = renderer.sharedMesh;
Mesh.name = "box-man";
Root.AddComponent<BoneMapping>();
}
static Transform BuildHierarchy(Transform parent, BvhNode node, float toMeter)