mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 20:08:53 -05:00
fix humanoid SubAssetKey
This commit is contained in:
@@ -621,7 +621,7 @@ namespace UniVRM10
|
||||
public override void TransferOwnership(TakeResponsibilityForDestroyObjectFunc take)
|
||||
{
|
||||
// VRM 固有のリソース(ScriptableObject)
|
||||
if (take(default, m_humanoid))
|
||||
if (take(SubAssetKey.Create(m_humanoid), m_humanoid))
|
||||
{
|
||||
m_humanoid = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user