using UnityEngine; using System.Collections; public class InMainMenu : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void OnClick () { //LivesManager.Instance.ConsumeLife(); MenuManager._instance.ExitToMainMenu = true; } }