Exemplo n.º 1
0
 void Start()
 {
     mg    = GameObject.Find("GameManager").GetComponent <InGameManager>();
     child = GetComponentsInChildren <Transform>();
     grid  = GameObject.Find("Grid").GetComponent <GridBuilter>();
     InvokeRepeating("DropBlock", 1.2f, 1.2f);
 }
Exemplo n.º 2
0
 void Start()
 {
     grid = GameObject.Find("Grid").GetComponent <GridBuilter>();
     Ed   = GameObject.Find("EndGame").GetComponent <EndGame>();
     Invoke("RandomBlock", 1);
 }