Ejemplo n.º 1
0
    private void OnMouseDown()
    {
        float radius = GetComponent <CircleCollider2D>().radius;

        tempBall = transform.gameObject;
        InActiveNearBall(transform, radius);
        ActiveSuperBall(countDetroyBall + 1);
        countDetroyBall = 0;
        board.ActiveBall();
    }
Ejemplo n.º 2
0
 private void ActionFinal(Transform tf)
 {
     tf.gameObject.SetActive(false);
     board.ActiveBall();
 }