Example #1
0
    public void OnMouseDown()
    {
        BlockSpawner blockSpawner = GameObject.Find("spawner").GetComponent <BlockSpawner>();

        blockSpawner.getBombedBrick(gameObject.transform);
    }