public void ActivateNextPlatform() { Platform platform = RequestPlatform().GetComponent <Platform>(); platformSize = platform.GetComponent <BoxCollider2D>().bounds.size; platformSize.y = 0;//PARA EVITAR QUE SEA UN ESCALON -> todo en una misma linea platform.transform.position = platformLastPos + platformSize; platformLastPos = platform.transform.position; platform.ActivateObstacle(); }