mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-01-01 20:25:07 +08:00
fix: MA is not performed in Awake if enter playmode settings is enabled
This commit is contained in:
parent
abdbecf26f
commit
6cb59f5fea
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user