public override void OnInspectorGUI()
{
EditorGUI.BeginDisabledGroup(false);
GUILayout.Label("Select platforms for plugin", EditorStyles.boldLabel, new GUILayoutOption[0]);
EditorGUILayout.BeginVertical(GUI.skin.box, new GUILayoutOption[0]);
this.ShowGeneralOptions();
EditorGUILayout.EndVertical();
GUILayout.Space(10f);
if (this.IsEditingPlatformSettingsSupported())
{
this.ShowPlatformSettings();
}
EditorGUI.EndDisabledGroup();
base.ApplyRevertGUI();
if (base.targets.Length <= 1)
{
GUILayout.Label("Information", EditorStyles.boldLabel, new GUILayoutOption[0]);
this.m_InformationScrollPosition = EditorGUILayout.BeginVerticalScrollView(this.m_InformationScrollPosition, new GUILayoutOption[0]);
foreach (KeyValuePair <string, string> pair in this.m_PluginInformation)
{
GUILayout.BeginHorizontal(new GUILayoutOption[0]);
GUILayoutOption[] options = new GUILayoutOption[] { GUILayout.Width(50f) };
GUILayout.Label(pair.Key, options);
GUILayout.TextField(pair.Value, new GUILayoutOption[0]);
GUILayout.EndHorizontal();
}
EditorGUILayout.EndScrollView();
GUILayout.FlexibleSpace();
if (this.importer.isNativePlugin)
{
EditorGUILayout.HelpBox("Once a native plugin is loaded from script, it's never unloaded. If you deselect a native plugin and it's already loaded, please restart Unity.", MessageType.Warning);
}
}
}