﻿using UnityEngine;
using UnityEngine.UI;
using System.Collections;

public class ScreenCenterDot : MonoBehaviour
{
    private Image m_image;
    
    void Start ()
    {
        m_image = GetComponent<Image>();
    }
	
	void Update ()
    {
        m_image.enabled = GameController.CameraRig.LockTarget == null && !GameController.IsGameOver;
    }
}
