编辑器
This commit is contained in:
parent
e8447938f9
commit
59cf73eed0
@ -344,11 +344,11 @@ namespace BFEditor
|
|||||||
GUILayout.EndHorizontal();
|
GUILayout.EndHorizontal();
|
||||||
GUILayout.EndVertical();
|
GUILayout.EndVertical();
|
||||||
GUILayout.EndArea();
|
GUILayout.EndArea();
|
||||||
GUILayout.BeginArea(new Rect(730, 650, 500, 100));
|
GUILayout.BeginArea(new Rect(730, 650, 500, 500));
|
||||||
GUILayout.BeginVertical();
|
GUILayout.BeginVertical();
|
||||||
GUILayout.Label("棋盘边缘元素");
|
GUILayout.Label("棋盘边缘元素");
|
||||||
boardEdgeStr = GUILayout.TextField(boardEdgeStr, GUILayout.Width(500), GUILayout.Height(300));
|
boardEdgeStr = GUILayout.TextField(boardEdgeStr, GUILayout.Width(400), GUILayout.Height(100));
|
||||||
if(GUILayout.Button("加载边缘元素配置"))
|
if(GUILayout.Button("加载边缘元素配置", GUILayout.Width(110)))
|
||||||
{
|
{
|
||||||
JArray edgeJo = edgeDict[curIndex];
|
JArray edgeJo = edgeDict[curIndex];
|
||||||
string str = "[";
|
string str = "[";
|
||||||
@ -377,7 +377,7 @@ namespace BFEditor
|
|||||||
}
|
}
|
||||||
boardEdgeStr = str;
|
boardEdgeStr = str;
|
||||||
}
|
}
|
||||||
if(GUILayout.Button("重新刷新边缘元素"))
|
if(GUILayout.Button("重新刷新边缘元素", GUILayout.Width(110)))
|
||||||
{
|
{
|
||||||
string[] units = boardEdgeStr.Split('{');
|
string[] units = boardEdgeStr.Split('{');
|
||||||
List<string> edgeList = new List<string>();
|
List<string> edgeList = new List<string>();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user