protected internal override void NodeGUI() { OuUIUtility.FormatLabel("参数:"); DrawFillsLayout(variables[0]); OuUIUtility.FormatLabel("反射方法:"); OuUIUtility.FormatPopup(ref index, TreeNodeReflectionSystem.methodNames); base.NodeGUI(); }
void DrawCSVHandle() { if (!isInitiazation) { CSVHandle(); return; } GUILayout.Label("选择行(首元素):"); OuUIUtility.FormatPopup(ref selectedDataRowIndex, firstRows); GUILayout.Label("选择元素:"); OuUIUtility.FormatPopup(ref selectedDataIndex, lexiconCSV[selectedDataRowIndex]); GUILayout.Label("转化:"); variables[1].obj = lexiconCSV[selectedDataRowIndex][selectedDataIndex]; DrawLocalLayout(variables[1]); GUILayout.Label("承接变量:"); DrawGlobalLayout(variables[2]); }