// Use this for initialization void Start() { trock = GetComponent <Trock_Control>(); initO = (GameObject)Instantiate(GameInitPoint); init = initO.GetComponent <GameInit> (); life = new GameObject[Life_Count]; lifepoint = Life_Count; txt = txtobject.GetComponent <TextMesh>(); txt.text = ""; micscript = MicObject.GetComponent <Mic>(); }
// Use this for initialization void Start() { trock = GetComponent<Trock_Control>(); initO=(GameObject)Instantiate (GameInitPoint); init = initO.GetComponent<GameInit> (); life = new GameObject[Life_Count]; lifepoint = Life_Count; txt = txtobject.GetComponent<TextMesh>(); txt.text = ""; micscript = MicObject.GetComponent<Mic>(); }