Beispiel #1
0
 void OnEnable()
 {
     Instance = this;
     if (_mAtlas != null)
     {
         InitSerializedProperties();
     }
 }
Beispiel #2
0
    void OnDisable()
    {
        Instance = null;

        //         if (_mAtlas != null)
        //         {
        //             AssetDatabase.SaveAssets();
        //         }
    }