Example #1
0
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();


            if (Application.isPlaying)
            {
                MalbersEditor.DrawHeader(M.name + " - List");
                EditorGUI.BeginDisabledGroup(true);

                for (int i = 0; i < M.Items.Count; i++)
                {
                    EditorGUILayout.ObjectField("Item " + i, M.Items[i], typeof(GameObject), false);
                }

                EditorGUI.EndDisabledGroup();
            }
        }