Esempio n. 1
0
 /// <summary>
 /// App data
 /// </summary>
 static PWApp()
 {
     conf = AssetUtils.GetConfig(CONF_NAME, true);
     if (conf != null)
     {
         Prod.Checkin(conf);
     }
 }
Esempio n. 2
0
 static PWApp()
 {
     CONF = AssetUtils.GetConfig(CONF_NAME);
     if (CONF != null)
     {
         Prod.Checkin(CONF);
     }
 }
Esempio n. 3
0
        /// <summary>
        /// Used to run things after a package was imported.
        /// </summary>
        private static void OnPackageImport()
        {
            if (m_conf == null)
            {
                m_conf = AssetUtils.GetConfig(CONF_NAME);
            }
            Prod.Checkin(m_conf);

            // No need for these anymore
            AssetDatabase.importPackageCompleted -= OnImportPackageCompleted;
            AssetDatabase.importPackageCancelled -= OnImportPackageCancelled;
            AssetDatabase.importPackageFailed    -= OnImportPackageFailed;
        }