Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     spawn_tiles_script = tile_spawner_ref.gameObject.GetComponent <spawn_tiles>();
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     tile_spawner_ref   = GameObject.Find("Tile_Spawner");
     spawn_tiles_script = tile_spawner_ref.GetComponent <spawn_tiles>();
 }