Exemplo n.º 1
0
 public void RequestLaunches()
 {
     foreach (Image block in blocks)
     {
         if (block.enabled)
         {
             Sprite  tempSprite     = block.sprite;
             Vector3 tempPosition   = block.transform.position;
             Vector3 targetPosition = resourceUI.GetCubeTarget(type);
             cubePool.RequestLaunch(block.sprite, tempPosition, targetPosition);
         }
     }
 }