Beispiel #1
0
    private void OnTriggerEnter(Collider other)
    {
        if (other.tag == "ExplosionPoint")
        {
            Time.timeScale = 0.4f;

            //  controlManager.CurrentWall;
            controlManager.WallExplosion();
        }
        else if (other.tag == "Respawn")
        {
            controlManager.CheckBallsCount();
        }
    }