// ------------------------------------------------------------------ // Desc: // ------------------------------------------------------------------ public override void OnInspectorGUI() { // DrawDefaultInspector(); GUILayout.BeginHorizontal(); GUILayout.FlexibleSpace(); if (GUILayout.Button("Edit...", GUILayout.Width(50), GUILayout.Height(20))) { exLayerEditor editor = exLayerEditor.NewWindow(); editor.Edit((target as exLayerMng).gameObject); } GUILayout.Space(5); GUILayout.EndHorizontal(); }