/// <summary> /// DrawAssetNodes /// </summary> private void DrawAssetNodes() { mScrollViewPosition = EditorGUILayout.BeginScrollView(mScrollViewPosition); for (int i = 0; i < mAsmdefs.Count; i++) { EditorGUILayout.BeginHorizontal(); EditorGUILayout.LabelField(string.Format("{0}. 【{1}】", (i + 1).PadLeft(mAsmdefs.Count), mAsmdefs[i].name)); mAsmdefs[i].assetNode.isHotfix = EditorGUILayout.ToggleLeft("isHotfix", mAsmdefs[i].assetNode.isHotfix); if (GUILayout.Button("Setting")) { EditorStrayFogApplication.PingObject(mAsmdefs[i].assetNode); } if (GUILayout.Button("Brower")) { EditorStrayFogApplication.PingObject(mAsmdefs[i].path); } if (GUILayout.Button("Reveal")) { EditorStrayFogApplication.RevealInFinder(mAsmdefs[i].path); } EditorGUILayout.EndHorizontal(); } EditorGUILayout.EndScrollView(); if (GUILayout.Button("Export Asmdef Map To XLS")) { EditorStrayFogExecute.ExecuteAsmdefToXLS(); EditorUtility.DisplayDialog("Asmdef Map", "ExportAsmdefMapToXLS successed.", "OK"); } }