void End() { SGS = ShapeGameState.End; FinishGUI.SetActive(true); Final_Score.text = string.Format("{0}", Count_Score); shape_audio.clip = FinishSound; shape_audio.Play(); }
public void GO() { //시작화면 비활성화 StartGUI.SetActive(false); SGS = ShapeGameState.Play; shape_audio.clip = GoSound; shape_audio.Play(); //처음 오브젝트를 원형으로 한다. currentObj = shapes[0]; currentObj.SetActive(true); StartCoroutine(SpawnShapes()); }