Ejemplo n.º 1
0
 private void OnTriggerEnter2D(Collider2D collision)
 {
     thecamera.DeactivateLimits();
     thecamera.MoveCamera(camerastart, moveSpeed);
     thecamera.ActivateLimits(bottomleft.x, bottomright.x, bottomleft.y, topleft.y);
 }