fix: MA is not performed in Awake if enter playmode settings is enabled

This commit is contained in:
anatawa12 2023-08-03 17:07:34 +09:00 committed by bd_
parent abdbecf26f
commit 6cb59f5fea

View File

@ -74,6 +74,10 @@ namespace nadena.dev.modular_avatar.core.editor
{ {
armedSource = RuntimeUtil.OnDemandSource.Start; armedSource = RuntimeUtil.OnDemandSource.Start;
} }
else if (obj == PlayModeStateChange.EnteredEditMode)
{
armedSource = RuntimeUtil.OnDemandSource.Awake;
}
} }
} }
} }