public void CancelButton() { //Debug.Log("Cancel the mission"); GameObject.Find("DialogBox").GetComponent <TweenPosition>().PlayReverse(); GameObject.Find("DialogBox").transform.Find("AcceptButton").gameObject.SetActive(false); GameObject.Find("DialogBox").transform.Find("CancelButton").gameObject.SetActive(false); MissionController.CancelTheMission(NPCName, NPCDialogList[0]); IsFinish = true; FirstTimeToRead = true; CallReset(); Player.GetComponent <BasicMove>().SetControllable(true); }