// Use this for initialization void Start() { clueText = Dialogtext.GetInstance(); Content.text = ""; ShowClue.transform.Translate(tPosition); Button finishone = (Button)ShowButton.GetComponent <Button>(); finishone.onClick.AddListener(ShowButtonDown); flag = false; }
void Start() { d = Dialogtext.GetInstance(); data = ClueData.getInstance(); }