/// <summary> /// App data /// </summary> static PWApp() { conf = AssetUtils.GetConfig(CONF_NAME, true); if (conf != null) { Prod.Checkin(conf); } }
static PWApp() { CONF = AssetUtils.GetConfig(CONF_NAME); if (CONF != null) { Prod.Checkin(CONF); } }
/// <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; }