mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-31 02:32:53 +08:00
parent
749d4dac4f
commit
925d601a1b
@ -30,7 +30,7 @@ namespace nadena.dev.modular_avatar.core.editor
|
|||||||
// TODO: observe avatar root
|
// TODO: observe avatar root
|
||||||
if (!ctx.ActiveAndEnabled(changer)) continue;
|
if (!ctx.ActiveAndEnabled(changer)) continue;
|
||||||
|
|
||||||
var target = ctx.Observe(changer.targetRenderer.Get(changer));
|
var target = ctx.Observe(changer, _ => changer.targetRenderer.Get(changer));
|
||||||
var renderer = ctx.GetComponent<SkinnedMeshRenderer>(target);
|
var renderer = ctx.GetComponent<SkinnedMeshRenderer>(target);
|
||||||
|
|
||||||
if (renderer == null) continue;
|
if (renderer == null) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user