- using UnityEngine;
- using System.Collections;
- public class AgeGAmeOver : MonoBehaviour {
- // Use this for initialization
- public UIButton ButtonStart;
- public UIButton ButtonMenu;
-
- // Update is called once per frame
- void OnClick () {
- transform.parent.GetComponent<ScreenBase>().Hide();
- ButtonStart.gameObject.SetActive(false);
- ButtonMenu.gameObject.SetActive(false);
- }
- }
|