String.LastIndexOf (Char)
报告指定 Unicode 字符在此实例中的最后一个匹配项的索引位置。
Substring 方法 (Int32 a, Int32 b) 从a去到b
定义一排按钮,勾选框,标签等的开始,GUILayout.BeginHorizontal();
定义这行按钮后标签的结束
Agg
GUILayout.BeginHorizontal();
EditorGUILayout.LabelField("请选择编码类型:",GUILayout.Width(85));
indexOfEncoding=EditorGUILayout.Popup(indexOfEncoding,encodingOption,GUILayout.Width(125));
GUILayout.EndHorizontal();
Application.dataPath;=
C:/Users/pc6/Desktop/ExcelDemo/Assets 计算机上的绝对路径
AssetPostprocessor 资源处理器 与资源导入、迁移、删除有关系详见
http://game.ceeger.com/Script/AssetPostprocessor/AssetPostprocessor.html
[ContextMenu("Hello World!")] 在编辑器的监事面板中可以右击鼠标执行相应的方法看见