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

public class CameraMovement : MonoBehaviour {

    public Transform player1;
    public Transform player2;

    // Use this for initialization
    void Start () {
        this.GetComponent<Animator>().enabled = false;
	}
	
	// Update is called once per frame
	void LateUpdate () {
        this.transform.position = ((this.player1.position + this.player2.position) / 2f) - new Vector3(0f, 0f, 150f);
	}

    void Stop()
    {
        //this.GetComponent<Animator>().enabled = true;
    }
}

public static class FirstTimeCamera
{
    public static bool isFirstTimer = true;
}
