Ejemplo n.º 1
0
 // 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>();
 }
Ejemplo n.º 2
0
 // 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>();
 }