fix: language list not populated until a MA editor is shown (#624)

This commit is contained in:
bd_ 2024-01-14 16:57:48 +09:00 committed by GitHub
parent 2d1757a975
commit 07d61b25b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,7 @@ using UnityEngine;
namespace nadena.dev.modular_avatar.core.editor
{
[InitializeOnLoad] // ensure that we register languages with NDMF on domain load
internal static class Localization
{
public static event Action OnLangChange;