Exemplo n.º 1
0
//	void OnTriggerEnter(Collider other){
//		Debug.Log("Enter is called..");
//	}


    private void OnTriggerEnter2D(Collider2D other)
    {
        Debug.Log("FIN DEL JUEGO");
        scoreCtr.SaveScore();
        userInterCtr.StateTable(true);
        soundCtr.MenuSound();
        restartPos();
        end = true;
    }