Beispiel #1
0
    private void OnTriggerEnter(Collider other)
    {
        if (other.gameObject.name == "bas")
        {
            skor          = +10;
            skor_txt.text = "SKOR" + skor;

            replace_coordinate();

            generate_tile.extra_tile();
        }
        if (other.gameObject.tag == "tile")
        {
            replace_coordinate();
        }
    }