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

public class Moving : MonoBehaviour {
	public Vector2 speed = Vector2.zero;

	void FixedUpdate () {
		gameObject.transform.position += new Vector3(speed.x, speed.y, 0) * Time.fixedDeltaTime;
	}
}
