Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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;
 }
Ejemplo n.º 4
0
 private static void EZScriptStatistics()
 {
     Selection.activeObject = EZScriptableObject.Load <EZScriptStatisticsObject>(EZScriptStatisticsObject.AssetName);
 }
Ejemplo n.º 5
0
 private static void EZKeystore()
 {
     Selection.activeObject = EZScriptableObject.Load <EZKeystoreObject>(EZKeystoreObject.AssetName);
 }
Ejemplo n.º 6
0
        static void Initialize()
        {
            EZKeystoreObject ezKeystore = EZScriptableObject.Load <EZKeystoreObject>(EZKeystoreObject.AssetName, false);

            SetKeystore(ezKeystore);
        }