// Test Initialization void TestInit() { Debug.Log("Test Initiation"); GameObject TestNode_1 = NewNodeController.CreateNewNode(GameObject_Node, "Test 0 0", 12.3, new Vector2(0, 0)); GameObject TestNode_2 = NewNodeController.CreateNewNode(GameObject_Node, "Test 1 0", 12.3, new Vector2(1, 0)); TestNode_1.GetComponent <NodeRenderer>().AddNodeChild(TestNode_2); GameObject TestNode_3 = NewNodeController.CreateNewNode(GameObject_Node, "Test 0 1", 12.3, new Vector2(0, 1)); TestNode_1.GetComponent <NodeRenderer>().AddNodeChild(TestNode_3); Button_ChangeModeTemp.onClick.AddListener(ChangeModeButton); Button_ResourceSetting.onClick.AddListener(ResourceSettingButton); }