示例#1
0
 public void AllBallsToSink()
 {
     foreach (Ball b in _balls)
     {
         if (b != null)
         {
             b.MoveToPoint(bSink.getPos(), 30, dZone.LlegaBola);
         }
     }
 }
示例#2
0
    public void onLastBallArrived()
    {
        Vector2 pos = bSink.getPos();

        bSpawn.setLaunchPos(pos.x, pos.y);
        bSpawn.gameObject.SetActive(true);
        tDetect.gameObject.SetActive(true);
        GetComponent <BoardManager>().StepForwardBlocks();
    }