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); } }
void OnFocus() { EZKeystoreInitializer.LoadKeystore(); }