private void Reset() { #if UNITY_EDITOR if (database == null) { database = Utils.AssetDatabaseFinder.Find <LocalizeDatabase>(); } #endif }
private void OnEnable() { #if UNITY_EDITOR if (database == null) { database = Utils.AssetDatabaseFinder.Find <LocalizeDatabase>(); } if (database != null) { Refresh(database.languages); } #endif }
private void Reset() { #if UNITY_EDITOR if (database.IsNull()) { database = Utils.AssetDatabaseFinder.Find <LocalizeDatabase>(); } #endif if (!database.IsNull()) { _language = database.language; } }