예제 #1
0
 /// <summary>
 /// App data
 /// </summary>
 static PWApp()
 {
     conf = AssetUtils.GetConfig(CONF_NAME, true);
     if (conf != null)
     {
         Prod.Checkin(conf);
     }
 }
예제 #2
0
파일: PWApp.cs 프로젝트: CityOfGamers/Raid
 static PWApp()
 {
     CONF = AssetUtils.GetConfig(CONF_NAME);
     if (CONF != null)
     {
         Prod.Checkin(CONF);
     }
 }
예제 #3
0
파일: PWApp.cs 프로젝트: NinjaAung/Duality
        /// <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;
        }