예제 #1
0
 void OnDisable()
 {
     if (_IsChanged)
     {
         if (UnityEditor.EditorUtility.DisplayDialog("Save", "Save changes to translate Dictionary?", "Save", "Don't Save"))
         {
             Save();
         }
     }
     _Instance = null;
 }
예제 #2
0
 void OnDestroy()
 {
     _Instance = null;
 }