コード例 #1
0
 public override void OnInspectorGUI()
 {
     serializedObject.Update();
     EZUnityEditor.EZEditorGUIUtility.ScriptTitle(target);
     EditorGUILayout.PropertyField(m_KeystoreName, new GUIContent("Keystore Path"));
     EditorGUILayout.PropertyField(m_KeystorePass, new GUIContent("Keystore Password"));
     EditorGUILayout.PropertyField(m_KeyAliasName, new GUIContent("Key Alias Name"));
     EditorGUILayout.PropertyField(m_KeyAliasPass, new GUIContent("Key Alias Password"));
     serializedObject.ApplyModifiedProperties();
     if (GUI.changed)
     {
         EZKeystoreInitializer.SetKeystore(target as EZKeystoreObject);
     }
 }
コード例 #2
0
 void OnFocus()
 {
     EZKeystoreInitializer.LoadKeystore();
 }