private void OnClickAddNode(Vector2 mousePosition)
        {
            Rect         rect = new Rect(mousePosition.x, mousePosition.y, 250, 100);
            StartEndNode node = new StartEndNode(rect, TypeOfNode.StartEnd, OnClickRemoveNode, "Start-End Node", name, GUID.Generate(), ftm);

            nodeList.Add(node);
            ft.startEndNodes.Add(node);
        }
Beispiel #2
0
 public void CreateNode(StartEndNode sen)
 {
     Debug.Log("HELLLO");
     //StartEndNodeGO startEndNode = new StartEndNodeGO { node = new GameObject(), startEndNode = sen };
 }