void OnWizardOtherButton(){
GameObject[] objects = Selection.gameObjects;
foreach (GameObject go in objects) {
Undo.RecordObject (go, "change name");
go.name += changeName;
}
//在这里
ShowNotification (new GUIContent (Selection.gameObjects.Length + "个物体被修改了"));
}ShowNotification是EditorWindow的一个成员方法,实例化了的窗口才可以使用
会直接在窗口的空白位置显示你要的提醒信息,参数是GUIContent类型的,封装了一层