using UnityEngine;
using System.Collections;

public class SlightCameraFollow : MonoBehaviour {
	public GameObject Player;
	public float MoveAmount = 2f;
	// Update is called once per frame
	void Update () {
		if (Player) {
			Vector3 playerPos = Player.transform.position;
			playerPos.x *= (MoveAmount / 8.74f);
			playerPos.y = transform.position.y;
			playerPos.z = transform.position.z;
			transform.position = playerPos;
		}
	}
}
