Example #1
0
    public void DestroySlice()
    {
        if (currentSlice != null)
        {
            model.SetNewBallPositions(currentSlice);

            currentSlice.GetComponent <GetComponentsFadeAnimation>().FinishedAnimating += DestroyCurrentSlice;
            currentView.GetComponent <GetComponentsFadeAnimation>().StartAnimating();
            currentSlice.GetComponent <GetComponentsFadeAnimation>().StartReverseAnimating();
        }
    }