private void SwitchNode() { //转换前节点名 string[] str = node.GetType().ToString().Split('.'); string output1 = str[str.Length - 1]; node = node.NextNode(); //转换后节点名 str = node.GetType().ToString().Split('.'); string output2 = str[str.Length - 1]; Debug.Log("转换节点:由" + output1 + "至" + output2); }