using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class bebeMovimiento : MonoBehaviour {
    [SerializeField]
    private float speed = 1f;

    private Rigidbody2D bebe;   

	// Use this for initialization
	void Start () {
        bebe = GetComponent<Rigidbody2D>();

        
	}
	
	// Update is called once per frame
	void Update () {

        transform.position = new Vector3(transform.position.x - speed, transform.position.y, transform.position.z);
        
	}
}
