mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
fix: language list not populated until a MA editor is shown (#624)
This commit is contained in:
parent
2d1757a975
commit
07d61b25b2
@ -11,6 +11,7 @@ using UnityEngine;
|
|||||||
|
|
||||||
namespace nadena.dev.modular_avatar.core.editor
|
namespace nadena.dev.modular_avatar.core.editor
|
||||||
{
|
{
|
||||||
|
[InitializeOnLoad] // ensure that we register languages with NDMF on domain load
|
||||||
internal static class Localization
|
internal static class Localization
|
||||||
{
|
{
|
||||||
public static event Action OnLangChange;
|
public static event Action OnLangChange;
|
||||||
|
Loading…
Reference in New Issue
Block a user