protected override void DrawInspector() { GUILayout.Label("GeneralText.Information".Traslate(), EditorStyles.boldLabel); GUILayout.Label("Inventory.Information".Traslate()); GUILayout.Space(10); var adventureData = Controller.Instance.AdventureData; EditorGUI.BeginChangeCheck(); var newInventoryPosition = EditorGUILayout.Popup(adventureData.getInventoryPosition(), DescriptorData.getInventoryTypes().Select(t => TC.get(INVENTORY_STRING + t)).ToArray()); if (EditorGUI.EndChangeCheck()) { adventureData.setInventoryPosition(newInventoryPosition); } }