// /// <summary> // /// click the enter button // /// </summary> // /// <param name="inputField"></param>gameobject input field // /// <param name="inputPanel"></param>gameobject input panel // public void ClickEnterBtn(InputField inputField) // { // levelDesigner.SetFileName (inputField.text);//change the file name // inputField.text = ""; // levelDesigner.InputPanel.SetActive (false); // // //if statement that determine should the program load or save data // if (levelDesigner.save) // { // levelDesigner.SaveData(); // } // else if (levelDesigner.load) // { // levelDesigner.LoadData(); // } // } /// <summary> /// Clicks the load button. /// </summary> public void ClickLoadButton(GameObject inputPanel) { // inputPanel.SetActive(true);//display the input field // levelDesigner.load = true; levelDesigner.LoadData(); }