void OnGUI() { if (settings == null) { settings = GetLocalizationSyncSettings(); if (settings == null) { settings = new LocalizationSyncSettings(); } } SetLayout(); }
private void OnDestroy() { settings = null; }