﻿using UnityEngine;
using System.Collections;

public class CamerMoveScript : MonoBehaviour {

	//int direction = 1;
	//float speed = 1f;
	//float origspeed;
	//int startmoving = 0;
	//GameObject listener = GameObject.Find ("NotePlacer");
	//SoundScript1 listnerscript = listener.GetComponent<SoundScript1>();
	// Use this for initialization
	void Start () {
		//origspeed = speed;

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

		/*if (listenerscript) {
			speed += 1f;
			startmoving = 1;	
		} else {
			speed = origspeed;
		}

		if (startmoving == 1) {
			transform.Rotate(0, 0, transform.localRotation.z + ((speed * direction) * Time.deltaTime));
		}

		if (transform.localRotation.z > 30f && direction == 1) {
			direction = -1;
		}
		if (transform.localRotation.z < -30f && direction == -1) {
			direction = 1;
		}*/

	}
}
