using UnityEngine;
using System.Collections;

public class MandiBehavior : MonoBehaviour {

    public float TimeToShowCanvas = 0f;
	// Use this for initialization
	void Start () {
        TimeToShowCanvas = Time.timeSinceLevelLoad + 3f;

	
	}
	
	// Update is called once per frame
	void Update () {
        if (Time.timeSinceLevelLoad > TimeToShowCanvas)
        {
            GameObject.FindGameObjectWithTag("Butcher").GetComponent<GameStatus>().Canv.SetActive(true);
            GameObject.FindGameObjectWithTag("Butcher").GetComponent<GameStatus>().Canv.GetComponent<EndGame>().enabled = true;
        }
	}
}
