public void ComboShow(int n) { if (gb.Combo == 0) { ComboDestroy(); } gb.Hit(n); Vector3 pos = new Vector3(0, -2.5f, 0); //Vector3 pos = new Vector3 (5.1f, -3.5f, 0); if (n == 1) { ShowPersent(); //Score.text = (gb.Suc * 0.6).ToString ()+"%"; //pos += new Vector3 (0.4f, 0, 0); StartCoroutine(NumberShow()); tempObj = Instantiate(Combo_Good, pos, transform.rotation); } else if (n == 2) { ShowPersent(); //Score.text = (gb.Suc * 0.6).ToString ()+"%"; StartCoroutine(NumberShow()); tempObj = Instantiate(Combo_Perfect, pos, transform.rotation); } else if (n == 0) { //pos += new Vector3 (0.5f, 0, 0); tempObj = Instantiate(Combo_Fail, pos, transform.rotation); tempObj.GetComponent <Combo> ().SetDestoryTime(1f); } }