InMainMenu.cs 298 B

123456789101112131415161718
  1. using UnityEngine;
  2. using System.Collections;
  3. public class InMainMenu : MonoBehaviour {
  4. // Use this for initialization
  5. void Start () {
  6. }
  7. // Update is called once per frame
  8. void OnClick () {
  9. //LivesManager.Instance.ConsumeLife();
  10. MenuManager._instance.ExitToMainMenu = true;
  11. }
  12. }