using UnityEngine;
using UnityEngine.UI;

using System.Collections;

public class UIMgrCtrl : MonoBehaviour 
{
    public static UIMgrCtrl instance = null;
    public GameObject _Lv1;
    public GameObject _Lv2;
    public GameObject _LockImage;
    public bool _Lv1Clear = false;

    void Awake() 
    {
        DontDestroyOnLoad (this.gameObject);
    }

    public void Lv1Start()
    {
        Application.LoadLevel ("Lv1");
    }

    void Update ()
    {
        if (_Lv1Clear == true)
            _LockImage.SetActive (false);
    }
}