public static EZKeystoreObject LoadKeystore() { EZKeystoreObject ezKeystore = EZScriptableObject.Load <EZKeystoreObject>(EZKeystoreObject.AssetName, true); ezKeystore.keystoreName = PlayerSettings.Android.keystoreName; ezKeystore.keystorePass = PlayerSettings.Android.keystorePass; ezKeystore.keyAliasName = PlayerSettings.Android.keyaliasName; ezKeystore.keyAliasPass = PlayerSettings.Android.keyaliasPass; return(ezKeystore); }
private static void OnWillCreateAsset(string metaPath) { string filePath = metaPath.Replace(".meta", ""); EZScriptTemplateObject ezScriptTemplate = EZScriptableObject.Load <EZScriptTemplateObject>(EZScriptTemplateObject.AssetName, false); if (ezScriptTemplate != null) { Replace(filePath, ezScriptTemplate); } }
protected override void OnFocus() { base.OnFocus(); ezScriptTemplate = EZScriptableObject.Load <EZScriptTemplateObject>(EZScriptTemplateObject.AssetName); so_EZScriptTemplate = new SerializedObject(ezScriptTemplate); extensionList = so_EZScriptTemplate.FindProperty("extensionList"); patternList = new ReorderableList(so_EZScriptTemplate, so_EZScriptTemplate.FindProperty("patternList"), true, true, true, true); patternList.drawHeaderCallback = DrawPatternListHeader; patternList.drawElementCallback = DrawPatternListElement; }
private static void EZScriptStatistics() { Selection.activeObject = EZScriptableObject.Load <EZScriptStatisticsObject>(EZScriptStatisticsObject.AssetName); }
private static void EZKeystore() { Selection.activeObject = EZScriptableObject.Load <EZKeystoreObject>(EZKeystoreObject.AssetName); }
static void Initialize() { EZKeystoreObject ezKeystore = EZScriptableObject.Load <EZKeystoreObject>(EZKeystoreObject.AssetName, false); SetKeystore(ezKeystore); }